com.filenet.wcm.apps.server.controller
Class GetTokenSignInPolicy

java.lang.Object
  extended bycom.filenet.wcm.toolkit.server.base.WcmSignInPolicy
      extended bycom.filenet.wcm.apps.server.controller.WorkplaceSignInPolicy
          extended bycom.filenet.wcm.apps.server.controller.GetTokenSignInPolicy
All Implemented Interfaces:
com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface

public class GetTokenSignInPolicy
extends WorkplaceSignInPolicy


Field Summary
static java.lang.String GET_TOKEN_CREDENTIALS_KEY
           
static java.lang.String PERSIST_TOKEN_CREDENTIALS_KEY
           
static java.lang.String UI_JSP
           
protected  java.lang.String uiJSP
           
 
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
bootstrap, bootstrapPage, bootstrapRequired, controller, dataStore, FIRST_PAGE_KEY, isTokenEnabled, USER_TOKEN_APPID
 
Constructor Summary
GetTokenSignInPolicy(com.filenet.wcm.toolkit.server.base.WcmController c, java.lang.String sslProtocolValue, java.lang.String sslHostValue, java.lang.String guestUserValue, java.util.Vector routerInfoValues, java.lang.String bootstrapPageValue)
           
 
Method Summary
protected  java.lang.String encodeShowPersist(java.lang.String url)
          Deprecated.  
protected  java.lang.String encodeTokenException(java.lang.String url)
           
protected  java.lang.String getSignInURL(java.lang.String requestedPage)
           
 boolean isSignedIn()
           
 java.lang.String setCredentials(java.lang.String user, java.lang.String password, com.filenet.wcm.toolkit.server.util.WcmRequestMap extraParameters)
          Override to capture browser timezone information during authentication.
protected  com.filenet.wcm.toolkit.server.util.FrameworkException wrapTokenException(java.util.Locale locale, java.lang.Exception tokenException, java.lang.String baseURL, java.lang.String returnURL)
          Wrap the last token exception in a FrameworkException in order to control the WcmError.jsp UI.
 
Methods inherited from class com.filenet.wcm.apps.server.controller.WorkplaceSignInPolicy
doSignIn
 
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
configureServerCredentials, configureServerCredentials, createServerCredentials, createServerCredentials, createServerCredentials, getDataStore, getDestinationPage, getEncodedSessionId, getHttpsUrl, getHttpUrl, getLocalIP, getLocalPort, getLoginRoutingInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GET_TOKEN_CREDENTIALS_KEY

public static final java.lang.String GET_TOKEN_CREDENTIALS_KEY
See Also:
Constant Field Values

PERSIST_TOKEN_CREDENTIALS_KEY

public static final java.lang.String PERSIST_TOKEN_CREDENTIALS_KEY
See Also:
Constant Field Values

UI_JSP

public static final java.lang.String UI_JSP
See Also:
Constant Field Values

uiJSP

protected java.lang.String uiJSP
Constructor Detail

GetTokenSignInPolicy

public GetTokenSignInPolicy(com.filenet.wcm.toolkit.server.base.WcmController c,
                            java.lang.String sslProtocolValue,
                            java.lang.String sslHostValue,
                            java.lang.String guestUserValue,
                            java.util.Vector routerInfoValues,
                            java.lang.String bootstrapPageValue)
                     throws java.lang.Exception
Method Detail

setCredentials

public java.lang.String setCredentials(java.lang.String user,
                                       java.lang.String password,
                                       com.filenet.wcm.toolkit.server.util.WcmRequestMap extraParameters)
                                throws java.lang.Exception
Description copied from class: WorkplaceSignInPolicy
Override to capture browser timezone information during authentication.

Specified by:
setCredentials in interface com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface
Overrides:
setCredentials in class WorkplaceSignInPolicy
Parameters:
user -
password -
extraParameters -
Returns:
Throws:
java.lang.Exception

isSignedIn

public boolean isSignedIn()
                   throws java.lang.Exception
Throws:
java.lang.Exception

encodeShowPersist

protected java.lang.String encodeShowPersist(java.lang.String url)
Deprecated.  


getSignInURL

protected java.lang.String getSignInURL(java.lang.String requestedPage)
                                 throws java.lang.Exception
Throws:
java.lang.Exception

wrapTokenException

protected com.filenet.wcm.toolkit.server.util.FrameworkException wrapTokenException(java.util.Locale locale,
                                                                                    java.lang.Exception tokenException,
                                                                                    java.lang.String baseURL,
                                                                                    java.lang.String returnURL)
Wrap the last token exception in a FrameworkException in order to control the WcmError.jsp UI.

Parameters:
tokenException -
Returns:
FrameworkException

encodeTokenException

protected java.lang.String encodeTokenException(java.lang.String url)
                                         throws java.lang.Exception
Throws:
java.lang.Exception


© Copyright IBM Corp. 2002, 2007. All Rights Reserved.