Class SSOTokenProcessor

  • java.lang.Object

  • public class SSOTokenProcessor
    extends java.lang.Object
    This class provides a set of utility methods that wrap the activity token to form an SSO token. The SSO token is an encrypted activity token that contains a time stamp when the token is generated.
    • The SSO token will be generated only if the value of the ActivityToken/ActivityTokenBasedAuthentication flag is set to 'true' in the instance configuration file.
    • The SSO token will expire depending on the value set for ActivityToken/expiryTime in the instance configuration file.
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String buildSSOToken(ActivityToken token)
      Generates a token for single sign-on.
      static java.lang.String retrieveLogonId(java.lang.String ssoToken)
      Retrieves the logonId of the user for whom the ssoToken was created.
      static ActivityToken validateSSOToken(java.lang.String ssoToken)
      Verifies if the single sign-on token is valid.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SSOTokenProcessor

        public SSOTokenProcessor()
    • Method Detail

      • buildSSOToken

        public static java.lang.String buildSSOToken(ActivityToken token)
                                              throws ServiceException
        Generates a token for single sign-on. This token contains a time stamp + the ActivityToken in a string format.
        token - using which the SSO token will be built
        The single sign-on token.
        ServiceException - if the ActivityToken is not valid