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, org.opensaml.xml.validation.ValidatingXMLObject, org.opensaml.xml.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<org.opensaml.xml.XMLObject> getOrderedChildren()
          
 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, detach, 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, detach, 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 - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
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<org.opensaml.xml.XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject


Copyright © 2006-2011 Internet2. All Rights Reserved.