public class FAMSecurityToken extends Object implements SecurityToken
FAMSecurityToken
represents Federation
OpenAM Security Token using OpenAM Single Sign-on
Token.LIBERTY_ASSERTION_TOKEN, WSS_FAM_SSO_TOKEN, WSS_KERBEROS_TOKEN, WSS_SAML_TOKEN, WSS_SAML2_TOKEN, WSS_USERNAME_TOKEN, WSS_X509_TOKEN
Constructor and Description |
---|
FAMSecurityToken(Element element)
Constructor that uses DOM Element
|
FAMSecurityToken(SSOToken ssoToken)
Constructor for FAMSecurityToken
|
Modifier and Type | Method and Description |
---|---|
String |
getAppTokenID()
Returns the Application/Client token value.
|
String |
getTokenID()
Returns the security token value.
|
String |
getTokenType()
Returns the security token type.
|
Element |
toDocumentElement()
Convert the security token into DOM Object.
|
public FAMSecurityToken(SSOToken ssoToken) throws SecurityException
ssoToken
- Single Sign on token of the subject.SecurityException
public FAMSecurityToken(Element element) throws SecurityException
element
- the DOM representation of security token.SecurityException
public String getTokenType()
getTokenType
in interface SecurityToken
public String getTokenID()
public String getAppTokenID()
public Element toDocumentElement() throws SecurityException
toDocumentElement
in interface SecurityToken
SecurityException
- if any failure is occured.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.