|
Oracle Security Developer Tools SAML 2.0 Java API Reference 11g (11.1.1) E10676-02 |
||||||||
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.AuthnContext
public class AuthnContext
Represents information about the context of an authentication event.
Field Summary |
---|
Fields inherited from class oracle.security.xmlsec.util.XMLNode |
---|
node, systemId |
Constructor Summary | |
---|---|
AuthnContext(org.w3c.dom.Document owner) Creates a new AuthnContext instance. |
|
AuthnContext(org.w3c.dom.Element element) Creates a new AuthnContext instance from the given Element node. |
|
AuthnContext(org.w3c.dom.Element element, java.lang.String systemId) Creates a new AuthnContext instance from the given Element node. |
Method Summary | |
---|---|
void |
addAuthenticatingAuthority(java.lang.String uri) Adds an authenticating authority. |
java.util.List |
getAuthenticatingAuthoritys() Returns the list of authenticating authorities. |
java.lang.String |
getAuthnContextClassRef() Return the authentication context class reference. |
org.w3c.dom.Element |
getAuthnContextDecl() Return the authentication context declaration. |
java.lang.String |
getAuthnContextDeclRef() Return the authentication context declaration reference. |
void |
setAuthnContextDecl(org.w3c.dom.Element element) Adds an authenticating context declaration. |
void |
setAuthnContextDecl(java.lang.String classRefURI, org.w3c.dom.Element element) Adds an authenticating context declaration. |
void |
setAuthnContextDeclRef(java.lang.String uri) Adds an authenticating context declaration reference. |
void |
setAuthnContextDeclRef(java.lang.String classRefURI, java.lang.String uri) Adds an authenticating context class and declaration reference. |
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 AuthnContext(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
AuthnContext
instance from the given Element node.
element
- A AuthnContext element.org.w3c.dom.DOMException
public AuthnContext(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
AuthnContext
instance from the given Element node.
element
- A AuthnContext element.systemId
- The URI string system ID for the AuthnContext
element.org.w3c.dom.DOMException
public AuthnContext(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
AuthnContext
instance.
owner
- The owner document of the new AuthnContext instance.org.w3c.dom.DOMException
Method Detail |
---|
public void setAuthnContextDeclRef(java.lang.String classRefURI, java.lang.String uri)
Invoking this method will remove any existing AuthnContextClassRef, AuthnContextDeclRef and AuthnContextDecl elements.
classRefURI
- An URI
reference to an authentication context class.uri
- An optional URI
reference to an authentication context declaration.public void setAuthnContextDecl(java.lang.String classRefURI, org.w3c.dom.Element element)
Invoking this method will remove any existing AuthnContextClassRef, AuthnContextDeclRef and AuthnContextDecl elements.
classRefURI
- A URI
reference to an authentication context class.element
- An optional Element
declaring the authentication context.public void setAuthnContextDeclRef(java.lang.String uri)
Invoking this method will remove any existing AuthnContextClassRef, AuthnContextDeclRef and AuthnContextDecl elements.
uri
- A URI
reference to an authentication context declaration.public void setAuthnContextDecl(org.w3c.dom.Element element)
Invoking this method will remove any existing AuthnContextClassRef or AuthnContextDeclRef or AuthnContextDecl elements.
element
- An Element
declaring the authentication context.public java.lang.String getAuthnContextClassRef()
URI
reference to the authentication context class or null
if not specified.public java.lang.String getAuthnContextDeclRef()
URI
reference to the authentication context declaration or null
if not specified.public org.w3c.dom.Element getAuthnContextDecl()
Element
specifying the authentication context declaration or null
if not specified.public void addAuthenticatingAuthority(java.lang.String uri)
uri
- A URI
representing an authenticating authority.public java.util.List getAuthenticatingAuthoritys()
List
containing String objects representing URI
s. These URI
s define authenticating authorities..
|
Oracle Security Developer Tools SAML 2.0 Java API Reference 11g (11.1.1) E10676-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |