|
Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10676-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.xmlsec.util.XMLNode
oracle.security.xmlsec.util.XMLElement
oracle.security.xmlsec.saml2.core.Statement
oracle.security.xmlsec.saml2.core.AuthnStatement
public class AuthnStatement
Represent a statement about an authentication event concerning a subject.
| Field Summary |
|---|
| Fields inherited from class oracle.security.xmlsec.util.XMLNode |
|---|
node, systemId |
| Constructor Summary | |
|---|---|
|
AuthnStatement(org.w3c.dom.Document owner)Creates a new AuthnStatement instance. |
protected |
AuthnStatement(org.w3c.dom.Document owner, java.lang.String nsURI, java.lang.String localName)Creates a new AuthnStatement instance. |
|
AuthnStatement(org.w3c.dom.Element element)Creates a new AuthnStatement instance from the given Element node. |
|
AuthnStatement(org.w3c.dom.Element element, java.lang.String systemId)Creates a new AuthnStatement instance from the given Element node. |
| Method Summary | |
|---|---|
AuthnContext |
getAuthnContext()Gets the context of the authentication. |
java.util.Date |
getAuthnInstant()Returns the authentication instant attribute from this element, or null if the attribute is not specified. |
java.lang.String |
getSessionIndex()Returns the index of the session between the subject and the authentication authority. |
java.util.Date |
getSessionNotOnOrAfter()Returns the time at which the session between subject and authentication authority must be considered ended. |
SubjectLocality |
getSubjectLocality()Gets the subject locality. |
void |
setAuthnContext(AuthnContext authnCtx)Sets the context of the authentication. |
void |
setAuthnInstant(java.util.Date authenticationInstant)Sets the time at which authentication took place. |
void |
setSessionIndex(java.lang.String index)Sets the index of the session between the subject and the authentication authority. |
void |
setSessionNotOnOrAfter(java.util.Date notOnOrAfter)Sets the time at which the session between subject and authentication authority must be considered ended. |
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. |
| Methods inherited from class oracle.security.xmlsec.saml2.core.Statement |
|---|
getXsiType, setXsiType |
| Methods inherited from class oracle.security.xmlsec.util.XMLElement |
|---|
addNSPrefixAttr, 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, setDefaultNSPrefix |
| Methods inherited from class oracle.security.xmlsec.util.XMLNode |
|---|
appendChild, 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, toStringXML |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthnStatement(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
AuthnStatement instance from the given Element node.
element - An AuthnStatement element.org.w3c.dom.DOMException
public AuthnStatement(org.w3c.dom.Element element,
java.lang.String systemId)
throws org.w3c.dom.DOMException
AuthnStatement instance from the given Element node.
element - An AuthnStatement element.systemId - The URI string system ID for the AuthnStatement.org.w3c.dom.DOMException
public AuthnStatement(org.w3c.dom.Document owner)
throws org.w3c.dom.DOMException
AuthnStatement instance.
owner - The owner document of the new AuthnStatement.org.w3c.dom.DOMException
protected AuthnStatement(org.w3c.dom.Document owner,
java.lang.String nsURI,
java.lang.String localName)
throws org.w3c.dom.DOMException
AuthnStatement instance. For use by classes extending the saml:AuthnStatement element.
owner - The owner document of the new element.nsURI - The namespace in which the new element is to be created.localName - The localName of the element.org.w3c.dom.DOMException| Method Detail |
|---|
public void setSessionIndex(java.lang.String index)
index - A String value.public java.lang.String getSessionIndex()
public void setAuthnInstant(java.util.Date authenticationInstant)
authenticationInstant - A Date object that specifies the authentication time.public java.util.Date getAuthnInstant()
null if the attribute is not specified.Date object representing the time of authentication.public void setSessionNotOnOrAfter(java.util.Date notOnOrAfter)
notOnOrAfter - A Date object that specifies the session ended time.public java.util.Date getSessionNotOnOrAfter()
Date object that specifies the session ended time.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 setAuthnContext(AuthnContext authnCtx)
authnCtx - A AuthnContext object.public AuthnContext getAuthnContext()
AuthnContext object.
|
Oracle Fusion Middleware SAML 2.0 Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10676-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||