com.pingidentity.sts.clientapi.tokens.saml
Class Saml20Token
java.lang.Object
com.pingidentity.sts.clientapi.tokens.saml.SamlToken
com.pingidentity.sts.clientapi.tokens.saml.Saml20Token
- All Implemented Interfaces:
- Token
public class Saml20Token
- extends SamlToken
Represents a SAML 2.0 security token
Constructor Summary |
Saml20Token()
Creates a new instance of the Saml2_0Token |
Saml20Token(org.w3c.dom.Element element)
Creates a new instance of the Saml2_0Token class using the specified element. |
Methods inherited from class com.pingidentity.sts.clientapi.tokens.saml.SamlToken |
addAttributes, getAttributes, getAudience, getAuthenticationInstant, getId, getIssueInstant, getIssuer, getNameFormat, getNameIdentifier, getNameQualifier, getNotBefore, getNotOnOrAfter, getRoot, getSubjectId, parse, setAudience, setAuthenticationInstant, setId, setIssueInstant, setIssuer, setNameFormat, setNameIdentifier, setNameQualifier, setNotBefore, setNotOnOrAfter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TOKEN_TYPE
public static final java.lang.String TOKEN_TYPE
- See Also:
- Constant Field Values
Saml20Token
public Saml20Token(org.w3c.dom.Element element)
throws SecurityTokenException
- Creates a new instance of the Saml2_0Token class using the specified element.
- Parameters:
element
- An element representing an SAML 2.0 token.
- Throws:
SecurityTokenException
- if an exception occurs
Saml20Token
public Saml20Token()
- Creates a new instance of the Saml2_0Token
getAuthnContextClassRef
public java.lang.String getAuthnContextClassRef()
- Returns:
- A URI reference identifying an authentication context class that describes the authentication context declaration that follows.
setAuthnContextClassRef
protected void setAuthnContextClassRef(java.lang.String authnContextClassRef)
getSubjLocalityAddr
public java.lang.String getSubjLocalityAddr()
- Returns:
- The network address of the system from which the principal identified by the subject was authenticated.
setSubjLocalityAddr
protected void setSubjLocalityAddr(java.lang.String subjLocalityAddr)
getTokenType
public java.lang.String getTokenType()
- Gets the type of the security token.
- Specified by:
getTokenType
in class SamlToken
loadAttributes
protected void loadAttributes(java.util.List<org.w3c.dom.Element> attributes)
throws SecurityTokenException
- Throws:
SecurityTokenException
doParse
protected void doParse(org.w3c.dom.Element xmlToken)
throws SecurityTokenException
- Loads an XML element into properties of the SecurityToken.
- Specified by:
doParse
in class SamlToken
- Parameters:
xmlToken
- An element representing an SAML token.
- Throws:
SecurityTokenException
setSpNameQualifier
public void setSpNameQualifier(java.lang.String spNameQualifier)
getSpNameQualifier
public java.lang.String getSpNameQualifier()
Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.