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 the
AuthenticationStatement Interface.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InstantContains the AuthenticationMethod attribute contents.private StringContains the AuthenticationMethod attribute contents.private final XMLObjectChildrenList<AuthorityBinding>Contains the AuthorityBinding subelements.private SubjectLocalityContains 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_METHODFields inherited from interface org.opensaml.saml.saml1.core.SubjectStatement
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthenticationStatementImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturn the contents of the AuthenticationInstant attribute.Return the contents of the AuthenticationMethod attribute.Get the list ofAuthorityBindings.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Get theSubjectLocality.voidsetAuthenticationInstant(Instant instant) Set the contents of the AuthenticationInstant attribute.voidsetAuthenticationMethod(String method) Set the contents of the AuthenticationMethod attribute.voidsetSubjectLocality(SubjectLocality locality) Set theSubjectLocality.Methods inherited from class org.opensaml.saml.saml1.core.impl.SubjectStatementImpl
getSubject, setSubjectMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.saml.saml1.core.SubjectStatement
getSubject, setSubjectMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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 Details
-
authenticationMethod
Contains the AuthenticationMethod attribute contents. -
authenticationInstant
Contains the AuthenticationMethod attribute contents. -
subjectLocality
Contains the SubjectLocality subelement. -
authorityBindings
Contains the AuthorityBinding subelements.
-
-
Constructor Details
-
AuthenticationStatementImpl
protected AuthenticationStatementImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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 Details
-
getAuthenticationMethod
Return the contents of the AuthenticationMethod attribute.- Specified by:
getAuthenticationMethodin interfaceAuthenticationStatement- Returns:
- the authentication method
-
setAuthenticationMethod
Set the contents of the AuthenticationMethod attribute.- Specified by:
setAuthenticationMethodin interfaceAuthenticationStatement- Parameters:
method- the authentication method
-
getAuthenticationInstant
Return the contents of the AuthenticationInstant attribute.- Specified by:
getAuthenticationInstantin interfaceAuthenticationStatement- Returns:
- the authentication instant
-
setAuthenticationInstant
Set the contents of the AuthenticationInstant attribute.- Specified by:
setAuthenticationInstantin interfaceAuthenticationStatement- Parameters:
instant- the authentication instant
-
getSubjectLocality
Get theSubjectLocality.- Specified by:
getSubjectLocalityin interfaceAuthenticationStatement- Returns:
- the
SubjectLocality
-
setSubjectLocality
Set theSubjectLocality.- Specified by:
setSubjectLocalityin interfaceAuthenticationStatement- Parameters:
locality- theSubjectLocality
-
getAuthorityBindings
Get the list ofAuthorityBindings.- Specified by:
getAuthorityBindingsin interfaceAuthenticationStatement- Returns:
- the list of
AuthorityBindings
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Overrides:
getOrderedChildrenin classSubjectStatementImpl- Returns:
- ordered list of child elements
-