org.opensaml.saml2.core.impl
Class RequestedAuthnContextImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.saml2.core.impl.RequestedAuthnContextImpl
All Implemented Interfaces:
SAMLObject, RequestedAuthnContext, ValidatingXMLObject, XMLObject

public class RequestedAuthnContextImpl
extends AbstractSAMLObject
implements RequestedAuthnContext

Concrete implementation of RequestedAuthnContext


Field Summary
 
Fields inherited from interface org.opensaml.saml2.core.RequestedAuthnContext
COMPARISON_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected RequestedAuthnContextImpl(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
          Constructor
 
Method Summary
 java.util.List<AuthnContextClassRef> getAuthnContextClassRefs()
          Gets the AuthnContextClassRefs of this request.
 java.util.List<AuthnContextDeclRef> getAuthnContextDeclRefs()
          Gets the AuthnContextDeclRefs of this request.
 AuthnContextComparisonTypeEnumeration getComparison()
          Gets the Comparison attribute value of the requested authn context.
 java.util.List<XMLObject> getOrderedChildren()
          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.common.impl.AbstractSAMLObject
equals, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Constructor Detail

RequestedAuthnContextImpl

protected RequestedAuthnContextImpl(java.lang.String namespaceURI,
                                    java.lang.String elementLocalName,
                                    java.lang.String namespacePrefix)
Constructor

Parameters:
namespaceURI -
elementLocalName -
namespacePrefix -
Method Detail

getComparison

public AuthnContextComparisonTypeEnumeration getComparison()
Gets the Comparison attribute value of the requested authn context.

Specified by:
getComparison in interface RequestedAuthnContext
Returns:
the Comparison attribute value of the requested authn context

setComparison

public void setComparison(AuthnContextComparisonTypeEnumeration newComparison)
Sets the Comparison attribute value of the requested authn context.

Specified by:
setComparison in interface RequestedAuthnContext
Parameters:
newComparison - the SessionIndex of this request

getAuthnContextClassRefs

public java.util.List<AuthnContextClassRef> getAuthnContextClassRefs()
Gets the AuthnContextClassRefs of this request.

Specified by:
getAuthnContextClassRefs in interface RequestedAuthnContext
Returns:
the AuthnContextClassRefs of this request

getAuthnContextDeclRefs

public java.util.List<AuthnContextDeclRef> getAuthnContextDeclRefs()
Gets the AuthnContextDeclRefs of this request.

Specified by:
getAuthnContextDeclRefs in interface RequestedAuthnContext
Returns:
the AuthnContextDeclRef of this request

getOrderedChildren

public java.util.List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.

Specified by:
getOrderedChildren in interface XMLObject
Returns:
ordered list of child elements