Class RequestedAuthnContextImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.RequestedAuthnContextImpl
- All Implemented Interfaces:
XMLObject
,SAMLObject
,RequestedAuthnContext
Concrete implementation of
RequestedAuthnContext
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final XMLObjectChildrenList<AuthnContextClassRef>
AuthnContextClassRef child elements.private final XMLObjectChildrenList<AuthnContextDeclRef>
AuthnContextDeclRef child elements.Comparison attribute.Fields inherited from interface org.opensaml.saml.saml2.core.RequestedAuthnContext
COMPARISON_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RequestedAuthnContextImpl
(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets the AuthnContextClassRefs of this request.Gets the AuthnContextDeclRefs of this request.Gets the Comparison attribute value of the requested authn context.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.void
setComparison
(AuthnContextComparisonTypeEnumeration newComparison) Sets the Comparison attribute value of the requested authn context.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, setSchemaType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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
-
authnContextClassRefs
AuthnContextClassRef child elements. -
authnContextDeclRefs
AuthnContextDeclRef child elements. -
comparison
Comparison attribute.
-
-
Constructor Details
-
RequestedAuthnContextImpl
protected RequestedAuthnContextImpl(String namespaceURI, String elementLocalName, 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
-
getComparison
Gets the Comparison attribute value of the requested authn context.- Specified by:
getComparison
in interfaceRequestedAuthnContext
- Returns:
- the Comparison attribute value of the requested authn context
-
setComparison
Sets the Comparison attribute value of the requested authn context.- Specified by:
setComparison
in interfaceRequestedAuthnContext
- Parameters:
newComparison
- the SessionIndex of this request
-
getAuthnContextClassRefs
Gets the AuthnContextClassRefs of this request.- Specified by:
getAuthnContextClassRefs
in interfaceRequestedAuthnContext
- Returns:
- the AuthnContextClassRefs of this request
-
getAuthnContextDeclRefs
Gets the AuthnContextDeclRefs of this request.- Specified by:
getAuthnContextDeclRefs
in interfaceRequestedAuthnContext
- Returns:
- the AuthnContextDeclRef of this request
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-