|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pingidentity.sts.clientapi.tokens.saml.SamlToken
public abstract class SamlToken
Abstract class to represent a SAML security tokens
Constructor Summary | |
---|---|
SamlToken()
Creates a new instance of the SamlTokenBase |
|
SamlToken(org.w3c.dom.Element element)
Creates a new instance of the SamlTokenBase class using the specified root. |
Method Summary | |
---|---|
protected void |
addAttributes(SamlAttribute attribute)
|
protected abstract void |
doParse(org.w3c.dom.Element e)
Loads an XML root into properties of the SecurityToken. |
java.util.List |
getAttributes()
|
java.lang.String |
getAudience()
|
java.util.Calendar |
getAuthenticationInstant()
|
java.lang.String |
getId()
|
java.util.Calendar |
getIssueInstant()
|
java.lang.String |
getIssuer()
|
java.lang.String |
getNameFormat()
|
java.lang.String |
getNameIdentifier()
|
java.lang.String |
getNameQualifier()
|
java.util.Calendar |
getNotBefore()
|
java.util.Calendar |
getNotOnOrAfter()
|
org.w3c.dom.Element |
getRoot()
Retrieves the content of a security token as an XML w3c Element |
java.lang.String |
getSubjectId()
Retrieves the principal subject identfier of the token. |
abstract java.lang.String |
getTokenType()
Gets the type of the security token. |
void |
parse(org.w3c.dom.Element element)
Wraps an XML w3c Element as a secutity token |
protected void |
setAudience(java.lang.String audience)
|
protected void |
setAuthenticationInstant(java.util.Calendar authenticationInstant)
|
protected void |
setId(java.lang.String id)
|
protected void |
setIssueInstant(java.util.Calendar issueInstant)
|
protected void |
setIssuer(java.lang.String issuer)
|
void |
setNameFormat(java.lang.String nameFormat)
|
protected void |
setNameIdentifier(java.lang.String nameIdentifier)
|
protected void |
setNameQualifier(java.lang.String nameQalifier)
|
protected void |
setNotBefore(java.util.Calendar notBefore)
|
protected void |
setNotOnOrAfter(java.util.Calendar notOnOrAfter)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SamlToken()
public SamlToken(org.w3c.dom.Element element) throws SecurityTokenException
element
- An root representing an SAML token.
SecurityTokenException
- if root can't be parsedMethod Detail |
---|
public java.util.List getAttributes()
protected void addAttributes(SamlAttribute attribute)
public java.util.Calendar getAuthenticationInstant()
protected void setAuthenticationInstant(java.util.Calendar authenticationInstant)
public java.lang.String getId()
protected void setId(java.lang.String id)
public java.util.Calendar getIssueInstant()
protected void setIssueInstant(java.util.Calendar issueInstant)
public java.lang.String getIssuer()
protected void setIssuer(java.lang.String issuer)
public java.util.Calendar getNotBefore()
protected void setNotBefore(java.util.Calendar notBefore)
public java.util.Calendar getNotOnOrAfter()
protected void setNotOnOrAfter(java.util.Calendar notOnOrAfter)
public java.lang.String getNameIdentifier()
protected void setNameIdentifier(java.lang.String nameIdentifier)
public java.lang.String getNameQualifier()
protected void setNameQualifier(java.lang.String nameQalifier)
public java.lang.String getSubjectId()
Token
getSubjectId
in interface Token
public org.w3c.dom.Element getRoot()
getRoot
in interface Token
public void parse(org.w3c.dom.Element element) throws SecurityTokenException
parse
in interface Token
SecurityTokenException
public abstract java.lang.String getTokenType()
protected abstract void doParse(org.w3c.dom.Element e) throws SecurityTokenException
e
- An root representing an SAML token.
SecurityTokenException
public void setNameFormat(java.lang.String nameFormat)
public java.lang.String getNameFormat()
public java.lang.String getAudience()
protected void setAudience(java.lang.String audience)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |