public class SSOTokenProcessor
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
SSOTokenProcessor() |
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.
|
public static final java.lang.String COPYRIGHT
public static java.lang.String buildSSOToken(ActivityToken token) throws ServiceException
token
- using which the SSO token will be builtServiceException
- if the ActivityToken is not validpublic static ActivityToken validateSSOToken(java.lang.String ssoToken) throws ECSystemException, BusinessContextServiceException
ssoToken
- single sign-on tokenECSystemException
- if the ssoToken is not valid.BusinessContextServiceException
- if the signature is corruptedpublic static java.lang.String retrieveLogonId(java.lang.String ssoToken) throws BusinessContextServiceException, ECSystemException
ssoToken
- BusinessContextServiceException
ECSystemException