Class AuthenticationStatementImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.saml.saml1.core.impl.SubjectStatementImpl
-
- org.opensaml.saml.saml1.core.impl.AuthenticationStatementImpl
-
- All Implemented Interfaces:
XMLObject,SAMLObject,AuthenticationStatement,Statement,SubjectStatement
public class AuthenticationStatementImpl extends SubjectStatementImpl implements AuthenticationStatement
A Concrete implementation of theAuthenticationStatementInterface.
-
-
Field Summary
Fields Modifier and Type Field Description private InstantauthenticationInstantContains the AuthenticationMethod attribute contents.private StringauthenticationMethodContains the AuthenticationMethod attribute contents.private XMLObjectChildrenList<AuthorityBinding>authorityBindingsContains the AuthorityBinding subelements.private SubjectLocalitysubjectLocalityContains the SubjectLocality subelement.-
Fields inherited from interface org.opensaml.saml.saml1.core.AuthenticationStatement
AUTHENTICATIONINSTANT_ATTRIB_NAME, AUTHENTICATIONINSTANT_ATTRIB_QNAME, AUTHENTICATIONMETHOD_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, HARDWARE_TOKEN_AUTHN_METHOD, KERBEROS_AUTHN_METHOD, PASSWORD_AUTHN_METHOD, PGP_AUTHN_METHOD, SPKI_AUTHN_METHOD, SRP_AUTHN_METHOD, TLS_CLIENT_AUTHN_METHOD, TYPE_LOCAL_NAME, TYPE_NAME, UNSPECIFIED_AUTHN_METHOD, X509_AUTHN_METHOD, XKMS_AUTHN_METHOD, XML_DSIG_AUTHN_METHOD
-
Fields inherited from interface org.opensaml.saml.saml1.core.SubjectStatement
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAuthenticationStatementImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantgetAuthenticationInstant()StringgetAuthenticationMethod()List<AuthorityBinding>getAuthorityBindings()List<XMLObject>getOrderedChildren()SubjectLocalitygetSubjectLocality()voidsetAuthenticationInstant(Instant instant)voidsetAuthenticationMethod(String method)voidsetSubjectLocality(SubjectLocality locality)-
Methods inherited from class org.opensaml.saml.saml1.core.impl.SubjectStatementImpl
getSubject, setSubject
-
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.saml.saml1.core.SubjectStatement
getSubject, setSubject
-
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 Detail
-
authenticationMethod
private String authenticationMethod
Contains the AuthenticationMethod attribute contents.
-
authenticationInstant
private Instant 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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getAuthenticationMethod
public String getAuthenticationMethod()
- Specified by:
getAuthenticationMethodin interfaceAuthenticationStatement
-
setAuthenticationMethod
public void setAuthenticationMethod(String method)
- Specified by:
setAuthenticationMethodin interfaceAuthenticationStatement
-
getAuthenticationInstant
public Instant getAuthenticationInstant()
- Specified by:
getAuthenticationInstantin interfaceAuthenticationStatement
-
setAuthenticationInstant
public void setAuthenticationInstant(Instant instant)
- Specified by:
setAuthenticationInstantin interfaceAuthenticationStatement
-
getSubjectLocality
public SubjectLocality getSubjectLocality()
- Specified by:
getSubjectLocalityin interfaceAuthenticationStatement
-
setSubjectLocality
public void setSubjectLocality(SubjectLocality locality)
- Specified by:
setSubjectLocalityin interfaceAuthenticationStatement
-
getAuthorityBindings
public List<AuthorityBinding> getAuthorityBindings()
- Specified by:
getAuthorityBindingsin interfaceAuthenticationStatement
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject- Overrides:
getOrderedChildrenin classSubjectStatementImpl
-
-