com.filenet.wcm.apps.server.controller

Class GetTokenSignInPolicy

  1. java.lang.Object
  2. extended bycom.filenet.wcm.toolkit.server.base.WcmSignInPolicy
  3. extended bycom.filenet.wcm.apps.server.controller.WorkplaceSignInPolicy
  4. extended bycom.filenet.wcm.apps.server.controller.GetTokenSignInPolicy
All implemented interfaces:
com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface

  1. public class GetTokenSignInPolicy
  2. extends WorkplaceSignInPolicy

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
GET_TOKEN_CREDENTIALS_KEY
  1. static
  2. java.lang.String
PERSIST_TOKEN_CREDENTIALS_KEY
  1. static
  2. java.lang.String
UI_JSP
  1. protected
  2. java.lang.String
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
  1. protected
  2. java.lang.String
encodeShowPersist(java.lang.String url)
Deprecated.
  1. protected
  2. java.lang.String
encodeTokenException(java.lang.String url)
  1. protected
  2. java.lang.String
getSignInURL(java.lang.String requestedPage)
  1. boolean
isSignedIn()
  1. java.lang.String
setCredentials(java.lang.String user,java.lang.String password,com.filenet.wcm.toolkit.server.util.WcmRequestMap extraParameters)
  1. protected
  2. 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.
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

  1. public static final java.lang.String GET_TOKEN_CREDENTIALS_KEY
See Also:

PERSIST_TOKEN_CREDENTIALS_KEY

  1. public static final java.lang.String PERSIST_TOKEN_CREDENTIALS_KEY
See Also:

UI_JSP

  1. public static final java.lang.String UI_JSP
See Also:

uiJSP

  1. protected java.lang.String uiJSP

Constructor Detail

GetTokenSignInPolicy

  1. public GetTokenSignInPolicy(com.filenet.wcm.toolkit.server.base.WcmController c,
  2. java.lang.String sslProtocolValue,
  3. java.lang.String sslHostValue,
  4. java.lang.String guestUserValue,
  5. java.util.Vector routerInfoValues,
  6. java.lang.String bootstrapPageValue)
  7. throws java.lang.Exception
Throws:
java.lang.Exception

Method Detail

setCredentials

  1. public java.lang.String setCredentials( java.lang.String user,
  2. java.lang.String password,
  3. com.filenet.wcm.toolkit.server.util.WcmRequestMap extraParameters)
  4. throws java.lang.Exception
Description copied from class: WorkplaceSignInPolicy
Captures the browser time zone information during authentication.
Specified by:
setCredentials in interface com.filenet.wcm.toolkit.server.base.WcmSignInPolicyInterface
Overrides:
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.Exception

isSignedIn

  1. public boolean isSignedIn()
  2. 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.Exception

encodeShowPersist

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

getSignInURL

  1. protected java.lang.String getSignInURL( java.lang.String requestedPage)
  2. throws java.lang.Exception
Overrides:
getSignInURL in class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
Throws:
java.lang.Exception

wrapTokenException

  1. protected com.filenet.wcm.toolkit.server.util.FrameworkException wrapTokenException( java.util.Locale locale,
  2. java.lang.Exception tokenException,
  3. java.lang.String baseURL,
  4. java.lang.String returnURL)
Wraps the last token exception in a FrameworkException object to control the WcmError.jsp UI.
Parameters:
tokenException -
Returns:
FrameworkException

encodeTokenException

  1. protected java.lang.String encodeTokenException( java.lang.String url)
  2. throws java.lang.Exception
Overrides:
encodeTokenException in class com.filenet.wcm.toolkit.server.base.WcmSignInPolicy
Throws:
java.lang.Exception