| java.lang.Object com.sun.portal.wsrp.consumer.markup.impl.ProducerSessionManagerNoInitCookie
ProducerSessionManagerNoInitCookie | public class ProducerSessionManagerNoInitCookie implements ProducerSessionManager(Code) | | This is the implementation of ProducerSessionManager for anonymous/authless
user that has methods to manage the session with a WSRP Producer.
When ever Anonymous is not allowed to have session, means
anonymous desktop shouldn't be configured with a portlet from
producer that requires initCookie. This implementation is used for
anonymous user when that is the case.Having such portlet means
the markup stub needs to be saved for the session and for
anonymous user, there is no place to store it.
Hence all session information is stored in client properties
for anonymous user
|
Method Summary | |
public String | getCookieHandleKey(MarkupConfig markupConfig, ContainerRequest request) Return null, since there is no cookie setting for
anonymous. | public WSRP_v1_Markup_PortType | getMarkupPortType(MarkupConfig markupConfig, ContainerRequest request) This gets a stub that can be shared by all users since
anonymous shouldn't be configured with a portlet
that requires a stub that can't be shared. | public String | getProducerSessionId(MarkupConfig markupConfig, ContainerRequest request) Check javadoc of interface. | public void | processSessionContext(MarkupConfig markupConfig, ContainerRequest request, SessionContext sessionContext) Check javadoc of interface. | public void | resetMarkupPortType(WSRP_v1_Markup_PortType invalidPortType, MarkupConfig markupConfig, ContainerRequest request) this should never be called for anonymous
since it is called only when InvalidCookieFault is
thrown for a markup stub, which won't be the case for
anonymous as it shouldn't be configured with a portlet
that needs initCookie at the first place. | public void | resetSessionId(String invalidSessionId, MarkupConfig markupConfig, ContainerRequest request) Check javadoc of interface. |
WSRP_SESSION_ID | final public static String WSRP_SESSION_ID(Code) | | |
getMarkupPortType | public WSRP_v1_Markup_PortType getMarkupPortType(MarkupConfig markupConfig, ContainerRequest request) throws ContainerException, ContentException(Code) | | This gets a stub that can be shared by all users since
anonymous shouldn't be configured with a portlet
that requires a stub that can't be shared.
Parameters: markupConfig - Parameters: request - |
resetMarkupPortType | public void resetMarkupPortType(WSRP_v1_Markup_PortType invalidPortType, MarkupConfig markupConfig, ContainerRequest request) throws ContainerException, ContentException(Code) | | this should never be called for anonymous
since it is called only when InvalidCookieFault is
thrown for a markup stub, which won't be the case for
anonymous as it shouldn't be configured with a portlet
that needs initCookie at the first place.
|
|
|