com.pingidentity.sts.clientapi.tokens.saml
Class Saml11Token
java.lang.Object
com.pingidentity.sts.clientapi.tokens.saml.SamlToken
com.pingidentity.sts.clientapi.tokens.saml.Saml11Token
- All Implemented Interfaces:
- Token
public class Saml11Token
- extends SamlToken
Represents a SAML 1.1 security token
Constructor Summary |
Saml11Token()
Creates a new instance of the Saml1_1Token |
Saml11Token(org.w3c.dom.Element element)
Creates a new instance of the Saml1_1Token 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
Saml11Token
public Saml11Token(org.w3c.dom.Element element)
throws SecurityTokenException
- Creates a new instance of the Saml1_1Token class using the specified element.
- Parameters:
element
- An element representing an SAML 1.1 token.
- Throws:
SecurityTokenException
Saml11Token
public Saml11Token()
- Creates a new instance of the Saml1_1Token
getAuthenticationMethod
public java.lang.String getAuthenticationMethod()
- Returns:
- A URI reference that specifies the type of authentication that took place.
setAuthenticationMethod
protected void setAuthenticationMethod(java.lang.String authenticationMethod)
getConfirmationMethod
public java.lang.String getConfirmationMethod()
- Returns:
- A URI reference that identifies a protocol to be used to authenticate the subject.
setConfirmationMethod
protected void setConfirmationMethod(java.lang.String confirmationMethod)
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
Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.