PageMixer demonstration with Servlet

pagemixer.filter
Class SessionIDFilterFactory

java.lang.Object
  |
  +--pagemixer.filter.SessionIDFilterFactory
All Implemented Interfaces:
jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory, ShopConstants, ShopKeys

public class SessionIDFilterFactory
extends java.lang.Object
implements jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory, ShopKeys

Factory for "SessionIDInsetFilter".

This creates filter to append <input type="hidden" name="Shop.Basket.SessionID"> with session ID of request context to ALL <form> in page.

This specification(= "append to all" form tag) is not recommended in actual service, because it has risk of session ID leak.

Since:
PageMixer 3.1

Fields inherited from interface common.ShopKeys
KEY_BASKET_ENTRY, KEY_BASKET_ENTRY_PROVIDER, KEY_DISCARD_REQUEST, KEY_PUT_REQUEST, KEY_RECALC_REQUEST
 
Fields inherited from interface common.ShopConstants
CLASS_BASKET_ENTRY, CLASS_BASKET_TOTAL, CLASS_ENTRY_COUNT, CLASS_ENTRY_NAME, CLASS_ENTRY_PRICE, CLASS_ENTRY_TOTAL, PARAM_DISCARD_REQUEST, PARAM_ENTRY_ID_PREFIX, PARAM_PUT_REQUEST, PARAM_RECALC_REQUEST, PARAM_SESSION_ID, REQUEST_BASKET_ENTRY, SESSION_BASKET_ENTRY_PROVIDER
 
Constructor Summary
SessionIDFilterFactory()
           
 
Method Summary
 jp.ne.dti.lares.foozy.pagemixer.mixer.Filter create(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionIDFilterFactory

public SessionIDFilterFactory()
Method Detail

create

public jp.ne.dti.lares.foozy.pagemixer.mixer.Filter create(jp.ne.dti.lares.foozy.pagemixer.mixer.ConsumerContext context)
Specified by:
create in interface jp.ne.dti.lares.foozy.pagemixer.mixer.Filter.Factory

PageMixer demonstration with Servlet