Class AuthnContextImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.AuthnContextImpl
- All Implemented Interfaces:
XMLObject,SAMLObject,AuthnContext
A concrete implemenation of
AuthnContext.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final XMLObjectChildrenList<AuthenticatingAuthority>List of the Authenticating Authorities.private AuthnContextClassRefURI of the Context Class.private AuthnContextDeclDeclaration of the Authentication Context.private AuthnContextDeclRefURI of the Declaration of the Authentication Context.Fields inherited from interface org.opensaml.saml.saml2.core.AuthnContext
AUTHENTICATED_TELEPHONY_AUTHN_CTX, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, IP_AUTHN_CTX, IP_PASSWORD_AUTHN_CTX, KERBEROS_AUTHN_CTX, MOFC_AUTHN_CTX, MOFU_AUTHN_CTX, MTFC_AUTHN_CTX, MTFU_AUTHN_CTX, NOMAD_TELEPHONY_AUTHN_CTX, PASSWORD_AUTHN_CTX, PERSONAL_TELEPHONY_AUTHN_CTX, PGP_AUTHN_CTX, PPT_AUTHN_CTX, PREVIOUS_SESSION_AUTHN_CTX, SMARTCARD_AUTHN_CTX, SMARTCARD_PKI_AUTHN_CTX, SOFTWARE_PKI_AUTHN_CTX, SPKI_AUTHN_CTX, SRP_AUTHN_CTX, TELEPHONY_AUTHN_CTX, TIME_SYNC_TOKEN_AUTHN_CTX, TLS_CLIENT_AUTHN_CTX, TYPE_LOCAL_NAME, TYPE_NAME, UNSPECIFIED_AUTHN_CTX, X509_AUTHN_CTX, XML_DSIG_AUTHN_CTX -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthnContextImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets Declaration of this Authentication Context.Gets the Authenticating Authorities of this Authentication Context.Gets the URI identifying the Context Class of this Authentication Context.Gets the URI of the Declaration of this Authentication Context.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.voidsetAuthnContextClassRef(AuthnContextClassRef newAuthnContextClassRef) Sets the URI identifying the Context Class of this Authentication Context.voidsetAuthnContextDecl(AuthnContextDecl newAuthnContextDecl) Sets the Declaration of this Authentication Context.voidsetAuthnContextDeclRef(AuthnContextDeclRef newAuthnContextDeclRef) Sets the URI of the Declaration of this Authentication Context.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
authnContextClassRef
URI of the Context Class. -
authnContextDecl
Declaration of the Authentication Context. -
authnContextDeclRef
URI of the Declaration of the Authentication Context. -
authenticatingAuthority
List of the Authenticating Authorities.
-
-
Constructor Details
-
AuthnContextImpl
protected AuthnContextImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable String namespacePrefix) Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Details
-
getAuthnContextClassRef
Gets the URI identifying the Context Class of this Authentication Context.- Specified by:
getAuthnContextClassRefin interfaceAuthnContext- Returns:
- AuthnContext AuthnContextClassRef
-
setAuthnContextClassRef
Sets the URI identifying the Context Class of this Authentication Context.- Specified by:
setAuthnContextClassRefin interfaceAuthnContext- Parameters:
newAuthnContextClassRef- the URI of this Authentication Context's Class.
-
getAuthContextDecl
Gets Declaration of this Authentication Context.- Specified by:
getAuthContextDeclin interfaceAuthnContext- Returns:
- AuthnContext AuthnContextDecl
-
setAuthnContextDecl
Sets the Declaration of this Authentication Context.- Specified by:
setAuthnContextDeclin interfaceAuthnContext- Parameters:
newAuthnContextDecl- the Declaration of this Authentication Context
-
getAuthnContextDeclRef
Gets the URI of the Declaration of this Authentication Context.- Specified by:
getAuthnContextDeclRefin interfaceAuthnContext- Returns:
- AuthnContext AuthnContextDeclRef
-
setAuthnContextDeclRef
Sets the URI of the Declaration of this Authentication Context.- Specified by:
setAuthnContextDeclRefin interfaceAuthnContext- Parameters:
newAuthnContextDeclRef- the URI of the Declaration of this Authentication Context
-
getAuthenticatingAuthorities
Gets the Authenticating Authorities of this Authentication Context.- Specified by:
getAuthenticatingAuthoritiesin interfaceAuthnContext- Returns:
- AuthnContext AuthenticatingAuthorities
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-