public class LibAuthenticationStatement extends AuthenticationStatement
LibSubject,
AuthnContext| Constructor and Description |
|---|
LibAuthenticationStatement(org.w3c.dom.Document owner)
Creates a new
LibAuthenticationStatement instance. |
LibAuthenticationStatement(org.w3c.dom.Document owner,
java.lang.String authenticationMethod,
java.util.Date authenticationInstant)
Creates a new
LibAuthenticationStatement instance. |
| Modifier and Type | Method and Description |
|---|---|
AuthnContext |
getAuthnContext()
Gets the AuthnContext element contained in this element.
|
java.util.Date |
getReauthenticateOnOrAfter()
Gets the time specified in the ReauthenticationOnOrAfter attribute in this
element.
|
java.util.Date |
getReauthenticationOnOrAfter()
Deprecated.
use getReauthenticateOnOrAfter
|
java.lang.String |
getSessionIndex()
Gets the string value in the SessionIndex attribute in this
element.
|
Subject |
getSubject()
Gets the
Subject of this Liberty AuthenticationStatement element. |
void |
setAuthnContext(AuthnContext authnContext)
Sets the AuthnContext child element of this element.
|
void |
setReauthenticateOnOrAfter(java.util.Date reAuthnTime)
Sets the ReauthenticationOnOrAfter attribute that contains the time at
which the service provider reauthenticates the Principle with the identity
provider.
|
void |
setReauthenticationOnOrAfter(java.util.Date reAuthnTime)
Deprecated.
use setReauthenticateOnOrAfter
|
void |
setSessionIndex(java.lang.String sessionIndex)
Sets the SessionIndex attribute that contains index into the particular
session between the identity provider and the Principle under which this
authentication statement is being issued.
|
addAuthorityBinding, getAuthenticationInstant, getAuthenticationMethod, getAuthorityBindings, getSubjectLocality, setAuthenticationInstant, setAuthenticationMethod, setSubjectLocalitysetSubjectaddNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefixappendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXMLpublic LibAuthenticationStatement(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
LibAuthenticationStatement instance.owner - The owner document of the new LibAuthenticationStatement.org.w3c.dom.DOMExceptionpublic LibAuthenticationStatement(org.w3c.dom.Document owner,
java.lang.String authenticationMethod,
java.util.Date authenticationInstant)
throws org.w3c.dom.DOMException
LibAuthenticationStatement instance.owner - The owner document of the new LibAuthenticationStatement.authenticationMethod - The AuthenticationMethod attribute.authenticationInstant - The AuthenticationInstant attribute.org.w3c.dom.DOMExceptionpublic Subject getSubject()
Subject of this Liberty AuthenticationStatement element.
Override the super class method to return an instance of LibSubject.getSubject in class SubjectStatementSubject element representing the principal of
the statement.public void setReauthenticationOnOrAfter(java.util.Date reAuthnTime)
public java.util.Date getReauthenticationOnOrAfter()
public void setReauthenticateOnOrAfter(java.util.Date reAuthnTime)
public java.util.Date getReauthenticateOnOrAfter()
public void setSessionIndex(java.lang.String sessionIndex)
public java.lang.String getSessionIndex()
public void setAuthnContext(AuthnContext authnContext)
public AuthnContext getAuthnContext()
AuthnContext object or null
if not specified.