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
private  XMLObjectChildrenList<AuthnContextClassRef> authnContextClassRefs
          AuthnContextClassRef child elements.
private  XMLObjectChildrenList<AuthnContextDeclRef> authnContextDeclRefs
          AuthnContextDeclRef child elements.
private  AuthnContextComparisonTypeEnumeration comparison
          Comparison attribute.
 
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(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 List<AuthnContextClassRef> getAuthnContextClassRefs()
          Gets the AuthnContextClassRefs of this request.
 List<AuthnContextDeclRef> getAuthnContextDeclRefs()
          Gets the AuthnContextDeclRefs of this request.
 AuthnContextComparisonTypeEnumeration getComparison()
          Gets the Comparison attribute value of the requested authn context.
 List<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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, 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, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

authnContextClassRefs

private final XMLObjectChildrenList<AuthnContextClassRef> authnContextClassRefs
AuthnContextClassRef child elements.


authnContextDeclRefs

private final XMLObjectChildrenList<AuthnContextDeclRef> authnContextDeclRefs
AuthnContextDeclRef child elements.


comparison

private AuthnContextComparisonTypeEnumeration comparison
Comparison attribute.

Constructor Detail

RequestedAuthnContextImpl

protected RequestedAuthnContextImpl(String namespaceURI,
                                    String elementLocalName,
                                    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 List<AuthnContextClassRef> getAuthnContextClassRefs()
Gets the AuthnContextClassRefs of this request.

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

getAuthnContextDeclRefs

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

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

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2012. All Rights Reserved.