public abstract class AuthenticationContextStatement
extends oracle.security.xmlsec.util.XMLElement
AuthenticationContextStatement
element of the Liberty authentication context schema. Each concrete implementation of this
class represents a respective class defined in the Liberty Authentication Context
Specification.| Modifier | Constructor and Description |
|---|---|
protected |
AuthenticationContextStatement(org.w3c.dom.Document owner)
Creates a new
AuthenticationContextStatement element in the given
document. |
protected |
AuthenticationContextStatement(org.w3c.dom.Document owner,
java.lang.String id)
Creates a new
AuthenticationContextStatement element in the given
document. |
protected |
AuthenticationContextStatement(org.w3c.dom.Element element)
Creates a new
AuthenticationContextStatement object that wraps the
given org.w3c.dom.Element object. |
protected |
AuthenticationContextStatement(org.w3c.dom.Element element,
java.lang.String systemId)
Creates a new
AuthenticationContextStatement object that
wraps the given Element object. |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMethod |
createAuthenticationMethod()
Creates a new
AuthenticationMethod element, but does not append it to
any element. |
Authenticator |
createAuthenticator()
Creates a new
Authenticator element, but does not append it to
any element. |
AuthenticatorTransportProtocol |
createAuthenticatorTransportProtocol()
Creates a new
AuthenticatorTransportProtocol element, but does not append it to
any element. |
DeactivationCallCenter |
createDeactivationCallCenter()
Creates a new
DeactivationCallCenter element, but does not append it to
any element. |
DigSig |
createDigSig()
Creates a new
Dig-sig element, but does not append it to
any element. |
Generation |
createGeneration(java.lang.String mechanism)
Creates a new
Generation element, but does not append it to
any element. |
GoverningAgreementRef |
createGoverningAgreementRef(java.lang.String ref)
Creates a new
GoverningAgreementRef element, but does not append it to
any element. |
GoverningAgreements |
createGoverningAgreements()
Creates a new
GoverningAgreements element, but does not append it to
any element. |
HTTP |
createHTTP()
Creates a new
HTTP element, but does not append it to
any element. |
Identification |
createIdentification(java.lang.String nym)
Creates a new
Identification element, but does not append it to
any element. |
IPSec |
createIPSec()
Creates a new
IPSec element, but does not append it to
any element. |
KeyActivation |
createKeyActivation()
Creates a new
KeyActivation element, but does not append it to
any element. |
KeyStorage |
createKeyStorage(java.lang.String medium)
Creates a new
KeyStorage element, but does not append it to
any element. |
Length |
createLength(int min)
Creates a new
Length element, but does not append it to
any element. |
MobileAuthCard |
createMobileAuthCard()
Creates a new
MobileAuthCard element, but does not append it to
any element. |
MobileDevice |
createMobileDevice()
Creates a new
MobileDevice element, but does not append it to
any element. |
MobileNetwork |
createMobileNetwork()
Creates a new
MobileNetwork element, but does not append it to
any element. |
OperationalProtection |
createOperationalProtection()
Creates a new
OperationalProtection element, but does not append it to
any element. |
Password |
createPassword()
Creates a new
Password element, but does not append it to
any element. |
PhysicalVerification |
createPhysicalVerification(java.lang.String credentialLevel)
Creates a new
PhysicalVerification element, but does not append it to
any element. |
PreviousSession |
createPreviousSession()
Creates a new
PreviousSession element, but does not append it to
any element. |
PrincipalAuthenticationMechanism |
createPrincipalAuthenticationMechanism()
Creates a new
PrincipalAuthenticationMechanism element, but does not
append it to any element. |
PrivateKeyProtection |
createPrivateKeyProtection()
Creates a new
PrivateKeyProtection element, but does not append it to
any element. |
SecurityAudit |
createSecurityAudit()
Creates a new
SecurityAudit element, but does not append it to
any element. |
SharedKeyProtection |
createSharedKeyProtection()
Creates a new
SharedKeyProtection element, but does not append it to
any element. |
SharedSecretChallengeResponse |
createSharedSecretChallengeResponse()
Creates a new
SharedSecretChallengeResponse element, but does not append it to
any element. |
Smartcard |
createSmartcard()
Creates a new
Smartcard element, but does not append it to
any element. |
SSL |
createSSL()
Creates a new
SSL element, but does not append it to
any element. |
SwitchAudit |
createSwitchAudit()
Creates a new
SwitchAudit element, but does not append it to
any element. |
TechnicalProtection |
createTechnicalProtection()
Creates a new
TechnicalProtection element, but does not append it to
any element. |
TimeSyncToken |
createTimeSyncToken(java.lang.String deviceType,
int seedLength,
boolean deviceInHand)
Creates a new
TimeSyncToken element, but does not append it to
any element. |
Token |
createToken()
Creates a new
Token element, but does not append it to
any element. |
WrittenConsent |
createWrittenConsent()
Creates a new
WrittenConsent element, but does not append it to
any element. |
WTLS |
createWTLS()
Creates a new
WTLS element, but does not append it to
any element. |
ZeroKnowledge |
createZeroKnowledge()
Creates a new
ZeroKnowledge element, but does not append it to
any element. |
java.lang.String |
getAssociatedURI()
Returns the associated Liberty URI for this authentication context class.
|
AuthenticationMethod |
getAuthenticationMethod()
Returns the
AuthenticationMethod element for this
AuthenticationContextStatement, or null if none has been
set. |
java.lang.String |
getClassName()
Returns the name of this authentication context class.
|
GoverningAgreements |
getGoverningAgreements()
Returns the
GoverningAgreements element for this
AuthenticationContextStatement, or null if none has been
set. |
java.lang.String |
getID()
Returns the
ID attribute for this AuthenticationContextStatement
element, or null if none has been set. |
Identification |
getIdentification()
Returns the
Identification element for this
AuthenticationContextStatement, or null if none has been
set. |
static AuthenticationContextStatement |
getInstance(java.lang.String uri,
org.w3c.dom.Document owner,
java.lang.String id)
Returns an instance of the subclass of
AuthenticationContextStatement
that represents the authentication context class specified by the given URI. |
static AuthenticationContextStatement |
getInstance(java.lang.String uri,
org.w3c.dom.Element element)
Returns an instance of the subclass of
AuthenticationContextStatement
that represents the authentication context class specified by the given URI. |
static AuthenticationContextStatement |
getInstance(java.lang.String uri,
org.w3c.dom.Element element,
java.lang.String systemId)
Returns an instance of the subclass of
AuthenticationContextStatement
that represents the authentication context class specified by the given URI. |
OperationalProtection |
getOperationalProtection()
Returns the
OperationalProtection element for this
AuthenticationContextStatement, or null if none has been
set. |
TechnicalProtection |
getTechnicalProtection()
Returns the
TechnicalProtection element for this
AuthenticationContextStatement, or null if none has been
set. |
protected abstract void |
initialize()
Initializes the authentication context class object.
|
protected boolean |
isValidAttributeValue(java.lang.String value,
java.lang.String attrName,
java.lang.String attrNSURI,
oracle.security.xmlsec.util.XMLElement element)
Returns
true if the given value is valid for the given attribute of the
given element for this authentication context class, or false otherwise. |
protected boolean |
isValidElement(ACElement element,
oracle.security.xmlsec.util.XMLElement parent)
Returns
true if Element represented by the given
ACElement object belongs to the list of
valid elements for this authentication context class, or false otherwise. |
protected void |
removeValidElement(java.lang.String nsURI,
java.lang.String localName,
java.lang.String nsURIParent,
java.lang.String localNameParent)
Removes the
Element specified by the given namespace URI and local name
from the list of valid elements for this authentication context class. |
protected void |
setAssociatedURI(java.lang.String uri)
Sets the associated Liberty URI for this authentication context class.
|
void |
setAuthenticationMethod(AuthenticationMethod am)
Sets the
AuthenticationMethod element for this
AuthenticationContextStatement
element, replacing any existing AuthenticationMethod element. |
protected void |
setChildACElement(ACElement element,
int pos)
Inserts the given element as a child element to this
AuthenticationContextStatement element in the given position. |
protected void |
setClassName(java.lang.String name)
Sets the name of this authentication context class.
|
void |
setGoverningAgreements(GoverningAgreements ga)
Sets the
GoverningAgreements element for this
AuthenticationContextStatement
element, replacing any existing GoverningAgreements element. |
void |
setID(java.lang.String id)
Sets the
ID attribute for this AuthenticationContextStatement
element. |
void |
setIdentification(Identification id)
Sets the
Identification element for this
AuthenticationContextStatement
element, replacing any existing Identification element. |
void |
setOperationalProtection(OperationalProtection op)
Sets the
OperationalProtection element for this
AuthenticationContextStatement
element, replacing any existing OperationalProtection element. |
void |
setTechnicalProtection(TechnicalProtection tp)
Sets the
TechnicalProtection element for this
AuthenticationContextStatement
element, replacing any existing TechnicalProtection element. |
protected void |
setValidElement(java.lang.String nsURI,
java.lang.String localName,
java.lang.String nsURIParent,
java.lang.String localNameParent)
Adds the
Element specified by the given namespace URI ,local name, and
parent element to the list of valid elements for this authentication context class. |
protected void |
validateAttributeValue(java.lang.String value,
java.lang.String attrName,
java.lang.String attrNSURI,
oracle.security.xmlsec.util.XMLElement element)
Throws an
AuthenticationContextException if the given value is not valid for
the given attribute of the given element for this authentication context class. |
protected void |
validateElement(ACElement element,
oracle.security.xmlsec.util.XMLElement parent)
Throws an
AuthenticationContextException if Element represented
by the given ACElement object does not belong to the list of
valid elements for this authentication context class, or returns otherwise. |
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, 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, toStringXMLprotected AuthenticationContextStatement(org.w3c.dom.Element element)
AuthenticationContextStatement object that wraps the
given org.w3c.dom.Element object.element - The underlying org.w3c.dom.Element object.protected AuthenticationContextStatement(org.w3c.dom.Element element,
java.lang.String systemId)
AuthenticationContextStatement object that
wraps the given Element object.element - The underlying org.w3c.dom.Element object.systemId - The URI string system ID for the
AuthenticationContextStatement.protected AuthenticationContextStatement(org.w3c.dom.Document owner)
AuthenticationContextStatement element in the given
document.owner - The owner document for this new element.protected AuthenticationContextStatement(org.w3c.dom.Document owner,
java.lang.String id)
throws AuthenticationContextException
AuthenticationContextStatement element in the given
document.owner - The owner document for this new element.id - The ID attribute.AuthenticationContextException - If the ID value is invalid for this authentication
context class.public static AuthenticationContextStatement getInstance(java.lang.String uri, org.w3c.dom.Element element) throws AuthenticationContextException
AuthenticationContextStatement
that represents the authentication context class specified by the given URI. This
method is used to parse an existing AuthenticationContextStatement
element. To create a new AuthenticationContextStatement element,
use getInstance(String, Document, String).uri - The authentication context class URIelement - The instance of org.w3c.dom.Element that this
AuthenticationContextStatement will wrap.AuthenticationContextException - If an error occurs while attempting to
create the new instance.public static AuthenticationContextStatement getInstance(java.lang.String uri, org.w3c.dom.Element element, java.lang.String systemId) throws AuthenticationContextException
AuthenticationContextStatement
that represents the authentication context class specified by the given URI. This
method is used to parse an existing AuthenticationContextStatement
element. To create a new AuthenticationContextStatement element,
use getInstance(String, Document, String).uri - The authentication context class URIelement - The instance of org.w3c.dom.Element that this
AuthenticationContextStatement will wrap.systemId - The URI string system ID for the
AuthenticationContextStatement.AuthenticationContextException - If an error occurs while attempting to
create the new instance.public static AuthenticationContextStatement getInstance(java.lang.String uri, org.w3c.dom.Document owner, java.lang.String id) throws AuthenticationContextException
AuthenticationContextStatement
that represents the authentication context class specified by the given URI. This
method is used to create a new AuthenticationContextStatement
element. To parse an existing AuthenticationContextStatement element,
use getInstance(String, Element) or
getInstance(String, Element, String).uri - The authentication context class URIowner - The owner document for this new element.id - The ID attribute of this new element.AuthenticationContextException - If an error occurs while attempting to
create the new instance.public void setIdentification(Identification id) throws AuthenticationContextException
Identification element for this
AuthenticationContextStatement
element, replacing any existing Identification element.id - The Identification element.AuthenticationContextException - If the
Identification
element is not valid for this authentication
context class.public Identification getIdentification()
Identification element for this
AuthenticationContextStatement, or null if none has been
set.public void setTechnicalProtection(TechnicalProtection tp) throws AuthenticationContextException
TechnicalProtection element for this
AuthenticationContextStatement
element, replacing any existing TechnicalProtection element.tp - The TechnicalProtection element.AuthenticationContextException - If the
TechnicalProtection
element is not valid for this authentication
context class.public TechnicalProtection getTechnicalProtection()
TechnicalProtection element for this
AuthenticationContextStatement, or null if none has been
set.public void setAuthenticationMethod(AuthenticationMethod am) throws AuthenticationContextException
AuthenticationMethod element for this
AuthenticationContextStatement
element, replacing any existing AuthenticationMethod element.am - The AuthenticationMethod element.AuthenticationContextException - If the
AuthenticationMethod
element is not valid for this authentication
context class.public AuthenticationMethod getAuthenticationMethod()
AuthenticationMethod element for this
AuthenticationContextStatement, or null if none has been
set.public void setOperationalProtection(OperationalProtection op) throws AuthenticationContextException
OperationalProtection element for this
AuthenticationContextStatement
element, replacing any existing OperationalProtection element.op - The OperationalProtection element.AuthenticationContextException - If the
OperationalProtection
element is not valid for this authentication
context class.public OperationalProtection getOperationalProtection()
OperationalProtection element for this
AuthenticationContextStatement, or null if none has been
set.public void setGoverningAgreements(GoverningAgreements ga) throws AuthenticationContextException
GoverningAgreements element for this
AuthenticationContextStatement
element, replacing any existing GoverningAgreements element.ga - The GoverningAgreements element.AuthenticationContextException - If the
GoverningAgreements
element is not valid for this authentication
context class.public GoverningAgreements getGoverningAgreements()
GoverningAgreements element for this
AuthenticationContextStatement, or null if none has been
set.public void setID(java.lang.String id)
throws AuthenticationContextException
ID attribute for this AuthenticationContextStatement
element.id - The attribute value.AuthenticationContextException - If the ID value is invalid for this authentication
context class.public java.lang.String getID()
ID attribute for this AuthenticationContextStatement
element, or null if none has been set.public Identification createIdentification(java.lang.String nym) throws org.w3c.dom.DOMException, AuthenticationContextException
Identification element, but does not append it to
any element.nym - The nym attribute value for this element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic TechnicalProtection createTechnicalProtection() throws org.w3c.dom.DOMException, AuthenticationContextException
TechnicalProtection element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic AuthenticationMethod createAuthenticationMethod() throws org.w3c.dom.DOMException, AuthenticationContextException
AuthenticationMethod element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic OperationalProtection createOperationalProtection() throws org.w3c.dom.DOMException, AuthenticationContextException
OperationalProtection element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic GoverningAgreements createGoverningAgreements() throws org.w3c.dom.DOMException, AuthenticationContextException
GoverningAgreements element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic PhysicalVerification createPhysicalVerification(java.lang.String credentialLevel) throws org.w3c.dom.DOMException, AuthenticationContextException
PhysicalVerification element, but does not append it to
any element.credentialLevel - The credentialLevel attribute value for this element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic WrittenConsent createWrittenConsent() throws org.w3c.dom.DOMException, AuthenticationContextException
WrittenConsent element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic PrincipalAuthenticationMechanism createPrincipalAuthenticationMechanism() throws org.w3c.dom.DOMException, AuthenticationContextException
PrincipalAuthenticationMechanism element, but does not
append it to any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic Password createPassword() throws org.w3c.dom.DOMException, AuthenticationContextException
Password element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic Length createLength(int min) throws org.w3c.dom.DOMException, AuthenticationContextException
Length element, but does not append it to
any element.min - The min attribute value for this element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic Generation createGeneration(java.lang.String mechanism) throws org.w3c.dom.DOMException, AuthenticationContextException
Generation element, but does not append it to
any element.mechanism - The mechanism attribute value for this element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic Smartcard createSmartcard() throws org.w3c.dom.DOMException, AuthenticationContextException
Smartcard element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic Token createToken() throws org.w3c.dom.DOMException, AuthenticationContextException
Token element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic TimeSyncToken createTimeSyncToken(java.lang.String deviceType, int seedLength, boolean deviceInHand) throws org.w3c.dom.DOMException, AuthenticationContextException
TimeSyncToken element, but does not append it to
any element.deviceType - The deviceType attribute value for this element.seedLength - The seedLength attribute value for this element.deviceInHand - The deviceInHand attribute value for this element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic Authenticator createAuthenticator() throws org.w3c.dom.DOMException, AuthenticationContextException
Authenticator element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic AuthenticatorTransportProtocol createAuthenticatorTransportProtocol() throws org.w3c.dom.DOMException, AuthenticationContextException
AuthenticatorTransportProtocol element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic MobileNetwork createMobileNetwork() throws org.w3c.dom.DOMException, AuthenticationContextException
MobileNetwork element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic SSL createSSL() throws org.w3c.dom.DOMException, AuthenticationContextException
SSL element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic HTTP createHTTP() throws org.w3c.dom.DOMException, AuthenticationContextException
HTTP element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic WTLS createWTLS() throws org.w3c.dom.DOMException, AuthenticationContextException
WTLS element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic IPSec createIPSec() throws org.w3c.dom.DOMException, AuthenticationContextException
IPSec element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic DeactivationCallCenter createDeactivationCallCenter() throws org.w3c.dom.DOMException, AuthenticationContextException
DeactivationCallCenter element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic GoverningAgreementRef createGoverningAgreementRef(java.lang.String ref) throws org.w3c.dom.DOMException, AuthenticationContextException
GoverningAgreementRef element, but does not append it to
any element.ref - The ref attribute value for this element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic SharedSecretChallengeResponse createSharedSecretChallengeResponse() throws org.w3c.dom.DOMException, AuthenticationContextException
SharedSecretChallengeResponse element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic MobileAuthCard createMobileAuthCard() throws org.w3c.dom.DOMException, AuthenticationContextException
MobileAuthCard element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic MobileDevice createMobileDevice() throws org.w3c.dom.DOMException, AuthenticationContextException
MobileDevice element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic SecurityAudit createSecurityAudit() throws org.w3c.dom.DOMException, AuthenticationContextException
SecurityAudit element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic SwitchAudit createSwitchAudit() throws org.w3c.dom.DOMException, AuthenticationContextException
SwitchAudit element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic PrivateKeyProtection createPrivateKeyProtection() throws org.w3c.dom.DOMException, AuthenticationContextException
PrivateKeyProtection element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic KeyActivation createKeyActivation() throws org.w3c.dom.DOMException, AuthenticationContextException
KeyActivation element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic KeyStorage createKeyStorage(java.lang.String medium) throws org.w3c.dom.DOMException, AuthenticationContextException
KeyStorage element, but does not append it to
any element.medium - The medium attribute value for this element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic SharedKeyProtection createSharedKeyProtection() throws org.w3c.dom.DOMException, AuthenticationContextException
SharedKeyProtection element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic DigSig createDigSig() throws org.w3c.dom.DOMException, AuthenticationContextException
Dig-sig element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic ZeroKnowledge createZeroKnowledge() throws org.w3c.dom.DOMException, AuthenticationContextException
ZeroKnowledge element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionpublic PreviousSession createPreviousSession() throws org.w3c.dom.DOMException, AuthenticationContextException
PreviousSession element, but does not append it to
any element.AuthenticationContextException - If an error occurs creating the element.org.w3c.dom.DOMExceptionprotected void setClassName(java.lang.String name)
name - The class name.public java.lang.String getClassName()
protected void setAssociatedURI(java.lang.String uri)
uri - The uri.public java.lang.String getAssociatedURI()
protected void setValidElement(java.lang.String nsURI,
java.lang.String localName,
java.lang.String nsURIParent,
java.lang.String localNameParent)
Element specified by the given namespace URI ,local name, and
parent element to the list of valid elements for this authentication context class.nsURI - The element's namespace URI.localName - The element's local name.nsURIParent - The namespace URI of the element's parent element.localNameParent - The local name of the element's parent element.protected void removeValidElement(java.lang.String nsURI,
java.lang.String localName,
java.lang.String nsURIParent,
java.lang.String localNameParent)
Element specified by the given namespace URI and local name
from the list of valid elements for this authentication context class.nsURI - The element's namespace URI.localName - The element's local name.nsURIParent - The namespace URI of the element's parent element.localNameParent - The local name of the element's parent element.protected boolean isValidElement(ACElement element, oracle.security.xmlsec.util.XMLElement parent)
true if Element represented by the given
ACElement object belongs to the list of
valid elements for this authentication context class, or false otherwise.element - The element.parent - The element's parent element.protected void validateElement(ACElement element, oracle.security.xmlsec.util.XMLElement parent) throws AuthenticationContextException
AuthenticationContextException if Element represented
by the given ACElement object does not belong to the list of
valid elements for this authentication context class, or returns otherwise.element - The element.parent - The element's parent element.AuthenticationContextExceptionprotected boolean isValidAttributeValue(java.lang.String value,
java.lang.String attrName,
java.lang.String attrNSURI,
oracle.security.xmlsec.util.XMLElement element)
true if the given value is valid for the given attribute of the
given element for this authentication context class, or false otherwise.value - The attribute value.attrName - The attributeName.attrNSURI - The attribute namespace.element - The element to which the attribute belongs.protected void validateAttributeValue(java.lang.String value,
java.lang.String attrName,
java.lang.String attrNSURI,
oracle.security.xmlsec.util.XMLElement element)
throws AuthenticationContextException
AuthenticationContextException if the given value is not valid for
the given attribute of the given element for this authentication context class.value - The attribute value.attrName - The attributeName.attrNSURI - The attribute namespace.element - The element to which the attribute belongs.AuthenticationContextExceptionprotected void setChildACElement(ACElement element, int pos) throws AuthenticationContextException
AuthenticationContextStatement element in the given position.element - The element to be inserted.pos - The postion of the element to be inserted in this
AuthenticationContextStatement element's child
element sequence.AuthenticationContextException - If the element to be inserted is not a valid
child element for this AuthenticationContextStatement
element.protected abstract void initialize()