org.opensaml.saml1.core.impl
Class AuthenticationStatementImpl

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.saml1.core.impl.SubjectStatementImpl
                  extended by org.opensaml.saml1.core.impl.AuthenticationStatementImpl
All Implemented Interfaces:
SAMLObject, AuthenticationStatement, Statement, SubjectStatement, ValidatingXMLObject, XMLObject

public class AuthenticationStatementImpl
extends SubjectStatementImpl
implements AuthenticationStatement

A Concrete implementation of the AuthenticationStatement Interface


Field Summary
private  org.joda.time.DateTime authenticationInstant
          Contains the AuthenticationMethod attribute contents
private  String authenticationMethod
          Contains the AuthenticationMethod attribute contents
private  XMLObjectChildrenList<AuthorityBinding> authorityBindings
          Contains the AuthorityBinding subelements
private  SubjectLocality subjectLocality
          Contains the SubjectLocality subelement
 
Fields inherited from interface org.opensaml.saml1.core.AuthenticationStatement
AUTHENTICATIONINSTANT_ATTRIB_NAME, AUTHENTICATIONMETHOD_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
protected AuthenticationStatementImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 org.joda.time.DateTime getAuthenticationInstant()
          Return the contents of the AuthenticationInstant attribute
 String getAuthenticationMethod()
          Return the contents of the AuthenticationMethod attribute
 List<AuthorityBinding> getAuthorityBindings()
          return all the AuthorityBinding subelement
 List<XMLObject> getOrderedChildren()
          
 SubjectLocality getSubjectLocality()
          Set the (single) SubjectLocality child element
 void setAuthenticationInstant(org.joda.time.DateTime authenticationInstant)
          Set the contents of the AuthenticationInstant attribute
 void setAuthenticationMethod(String authenticationMethod)
          Set the contents of the AuthenticationMethod attribute
 void setSubjectLocality(SubjectLocality subjectLocality)
          Get the (single) SubjectLocality child element
 
Methods inherited from class org.opensaml.saml1.core.impl.SubjectStatementImpl
getSubject, setSubject
 
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.saml1.core.SubjectStatement
getSubject, setSubject
 
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

authenticationMethod

private String authenticationMethod
Contains the AuthenticationMethod attribute contents


authenticationInstant

private org.joda.time.DateTime authenticationInstant
Contains the AuthenticationMethod attribute contents


subjectLocality

private SubjectLocality subjectLocality
Contains the SubjectLocality subelement


authorityBindings

private final XMLObjectChildrenList<AuthorityBinding> authorityBindings
Contains the AuthorityBinding subelements

Constructor Detail

AuthenticationStatementImpl

protected AuthenticationStatementImpl(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

getAuthenticationMethod

public String getAuthenticationMethod()
Return the contents of the AuthenticationMethod attribute

Specified by:
getAuthenticationMethod in interface AuthenticationStatement

setAuthenticationMethod

public void setAuthenticationMethod(String authenticationMethod)
Set the contents of the AuthenticationMethod attribute

Specified by:
setAuthenticationMethod in interface AuthenticationStatement

getAuthenticationInstant

public org.joda.time.DateTime getAuthenticationInstant()
Return the contents of the AuthenticationInstant attribute

Specified by:
getAuthenticationInstant in interface AuthenticationStatement

setAuthenticationInstant

public void setAuthenticationInstant(org.joda.time.DateTime authenticationInstant)
Set the contents of the AuthenticationInstant attribute

Specified by:
setAuthenticationInstant in interface AuthenticationStatement

getSubjectLocality

public SubjectLocality getSubjectLocality()
Set the (single) SubjectLocality child element

Specified by:
getSubjectLocality in interface AuthenticationStatement

setSubjectLocality

public void setSubjectLocality(SubjectLocality subjectLocality)
                        throws IllegalArgumentException
Get the (single) SubjectLocality child element

Specified by:
setSubjectLocality in interface AuthenticationStatement
Throws:
IllegalArgumentException

getAuthorityBindings

public List<AuthorityBinding> getAuthorityBindings()
return all the AuthorityBinding subelement

Specified by:
getAuthorityBindings in interface AuthenticationStatement

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject
Overrides:
getOrderedChildren in class SubjectStatementImpl


Copyright © 1999-2012. All Rights Reserved.