public class AuthenticationStatement extends SubjectStatement
| Constructor and Description |
|---|
AuthenticationStatement(org.w3c.dom.Document owner)
Creates a new
AuthenticationStatement instance. |
AuthenticationStatement(org.w3c.dom.Element element)
Creates a new
AuthenticationStatement instance from the given
Element node. |
AuthenticationStatement(org.w3c.dom.Element element,
java.lang.String SystemId)
Creates a new
AuthenticationStatement instance from the given
Element node. |
| Modifier and Type | Method and Description |
|---|---|
void |
addAuthorityBinding(AuthorityBinding authorityBinding)
Adds an
AuthorityBinding object indicating that
additional information about the subject of the statement may be
available. |
java.util.Date |
getAuthenticationInstant()
Returns the authentication instant attribute from this element, or
null
if the attribute is not specified. |
java.lang.String |
getAuthenticationMethod()
Gets the authentication method attribute from this element, or
null
if the attribute is not specified. |
java.util.List |
getAuthorityBindings()
Gets the
AuthorityBinding objects indicating that
additional information about the subject of the statement may be
available. |
SubjectLocality |
getSubjectLocality()
Gets the subject locality.
|
void |
setAuthenticationInstant(java.util.Date authenticationInstant)
Sets the authentication instant attribute of this
AuthenticationStatement. |
void |
setAuthenticationMethod(java.lang.String authenticationMethod)
Sets the authentication method attribute of this
AuthenticationStatement. |
void |
setSubjectLocality(SubjectLocality subjectLocality)
Sets the subject locality consisting of the IP address and/or
the DNS domain name of the machine where the authentication took place.
|
getSubject, setSubjectaddNSPrefixAttr, 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 AuthenticationStatement(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AuthenticationStatement instance from the given
Element node.element - An AuthenticationStatement element.org.w3c.dom.DOMExceptionpublic AuthenticationStatement(org.w3c.dom.Element element,
java.lang.String SystemId)
throws org.w3c.dom.DOMException
AuthenticationStatement instance from the given
Element node.element - An AuthenticationStatement element.SystemId - The URI string system ID for the AuthenticationStatement.org.w3c.dom.DOMExceptionpublic AuthenticationStatement(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AuthenticationStatement instance.owner - The owner document of the new AuthenticationStatement.org.w3c.dom.DOMExceptionpublic void setAuthenticationMethod(java.lang.String authenticationMethod)
AuthenticationStatement.authenticationMethod - A URI that specifies the type of authentication that
took place. Typically, one of the
authentication URIs defined in the SAMLURI
interface.public java.lang.String getAuthenticationMethod()
null
if the attribute is not specified.URI representing the means of authentication.public void setAuthenticationInstant(java.util.Date authenticationInstant)
AuthenticationStatement.authenticationInstant - A Date object that specifies the time at which the authentication
took place.public java.util.Date getAuthenticationInstant()
null
if the attribute is not specified.Date object representing the time of authentication.public void setSubjectLocality(SubjectLocality subjectLocality)
subjectLocality - A SubjectLocality object defining an entity.public SubjectLocality getSubjectLocality()
SubjectLocality object containing an IP address and/or
DNS domain name.public void addAuthorityBinding(AuthorityBinding authorityBinding)
AuthorityBinding object indicating that
additional information about the subject of the statement may be
available.authorityBinding - An AuthorityBinding object.public java.util.List getAuthorityBindings()
AuthorityBinding objects indicating that
additional information about the subject of the statement may be
available.List containg AuthorityBinding objects
or an empty List if none has been set.