com.filenet.wcm.apps.server.controller
Class GetTokenSignInPolicy
- java.lang.Object
com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
com.filenet.wcm.apps.server.controller.WorkplaceSignInPolicy
com.filenet.wcm.apps.server.controller.GetTokenSignInPolicy
All implemented interfaces:
com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface
- public class GetTokenSignInPolicy
- extends WorkplaceSignInPolicy
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
GET_TOKEN_CREDENTIALS_KEY
|
|
PERSIST_TOKEN_CREDENTIALS_KEY
|
|
UI_JSP
|
|
uiJSP
|
| Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy |
|---|
bootstrap, bootstrapPage, bootstrapRequired, controller, dataStore, FIRST_PAGE_KEY, isTokenEnabled, removeSessionId, USER_TOKEN_APPID |
Constructor Summary
| Constructor and Description |
|---|
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
| Modifier and Type | Method and Description |
|---|---|
|
encodeShowPersist(java.lang.String url)
Deprecated.
|
|
encodeTokenException(java.lang.String url)
|
|
getSignInURL(java.lang.String requestedPage)
|
|
isSignedIn()
|
|
setCredentials(java.lang.String user,java.lang.String password,com.filenet.wcm.toolkit.server.util.WcmRequestMap extraParameters)
|
|
wrapTokenException(java.util.Locale locale,java.lang.Exception tokenException,java.lang.String baseURL,java.lang.String returnURL)
Wraps the last token exception in a FrameworkException object 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:
PERSIST_TOKEN_CREDENTIALS_KEY
- public static final java.lang.String PERSIST_TOKEN_CREDENTIALS_KEY
See Also:
UI_JSP
- public static final java.lang.String UI_JSP
See Also:
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
Throws:
java.lang.ExceptionMethod 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
Captures the browser time zone information during authentication.
Specified by:
setCredentials in interface com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface
Overrides:
setCredentials in class WorkplaceSignInPolicy
Parameters:
user - - The user name. password - - The user's password. extraParameters - - Any additional parameters such as appId or domain, or others. Returns:
String value of the page to redirect to, if successful.
Throws:
java.lang.ExceptionisSignedIn
- public boolean isSignedIn()
- throws java.lang.Exception
Description copied from class:
com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
Detects whether or not the user is signed in.
Specified by:
isSignedIn in interface com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface
Overrides:
isSignedIn in class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
Returns:
true if the session is authenticated, otherwise false.
Throws:
java.lang.ExceptionencodeShowPersist
- protected java.lang.String encodeShowPersist( java.lang.String url)
Deprecated.
getSignInURL
- protected java.lang.String getSignInURL( java.lang.String requestedPage)
- throws java.lang.Exception
Overrides:
getSignInURL in class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
Throws:
java.lang.ExceptionwrapTokenException
- 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)
Wraps the last token exception in a FrameworkException object to control the WcmError.jsp UI.
Parameters:
tokenException - Returns:
FrameworkException
encodeTokenException
- protected java.lang.String encodeTokenException( java.lang.String url)
- throws java.lang.Exception
Overrides:
encodeTokenException in class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
Throws:
java.lang.Exception
WorkplaceSignInPolicy