public class AuthnStatementImpl extends AbstractSAMLObject implements AuthnStatement
AuthnStatement
.AUTHN_INSTANT_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, SESSION_INDEX_ATTRIB_NAME, SESSION_NOT_ON_OR_AFTER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
AuthnStatementImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AuthnContext |
getAuthnContext()
Gets the context used to authenticate the subject.
|
org.joda.time.DateTime |
getAuthnInstant()
Gets the time when the authentication took place.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
String |
getSessionIndex()
Get the session index between the principal and the authenticating authority.
|
org.joda.time.DateTime |
getSessionNotOnOrAfter()
Get the time when the session between the principal and the SAML authority ends.
|
SubjectLocality |
getSubjectLocality()
Get the DNS domain and IP address of the system where the principal was authenticated.
|
void |
setAuthnContext(AuthnContext newAuthnContext)
Sets the context used to authenticate the subject.
|
void |
setAuthnInstant(org.joda.time.DateTime newAuthnInstant)
Sets the time when the authentication took place.
|
void |
setSessionIndex(String newSessionIndex)
Sets the session index between the principal and the authenticating authority.
|
void |
setSessionNotOnOrAfter(org.joda.time.DateTime newSessionNotOnOrAfter)
Set the time when the session between the principal and the SAML authority ends.
|
void |
setSubjectLocality(SubjectLocality newSubjectLocality)
Set the DNS domain and IP address of the system where the principal was authenticated.
|
equals, prepareForAssignment
deregisterValidator, getValidators, registerValidator, validate, validateChildren
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
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
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
protected AuthnStatementImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespacepublic SubjectLocality getSubjectLocality()
getSubjectLocality
in interface AuthnStatement
public void setSubjectLocality(SubjectLocality newSubjectLocality)
setSubjectLocality
in interface AuthnStatement
newSubjectLocality
- the DNS domain and IP address of the system where the principal was authenticatedpublic AuthnContext getAuthnContext()
getAuthnContext
in interface AuthnStatement
public void setAuthnContext(AuthnContext newAuthnContext)
setAuthnContext
in interface AuthnStatement
newAuthnContext
- the context used to authenticate the subjectpublic org.joda.time.DateTime getAuthnInstant()
getAuthnInstant
in interface AuthnStatement
public void setAuthnInstant(org.joda.time.DateTime newAuthnInstant)
setAuthnInstant
in interface AuthnStatement
newAuthnInstant
- the time when the authentication took placepublic String getSessionIndex()
getSessionIndex
in interface AuthnStatement
public void setSessionIndex(String newSessionIndex)
setSessionIndex
in interface AuthnStatement
newSessionIndex
- the session index between the principal and the authenticating authoritypublic org.joda.time.DateTime getSessionNotOnOrAfter()
getSessionNotOnOrAfter
in interface AuthnStatement
public void setSessionNotOnOrAfter(org.joda.time.DateTime newSessionNotOnOrAfter)
setSessionNotOnOrAfter
in interface AuthnStatement
newSessionNotOnOrAfter
- the time when the session between the principal and the SAML authority endspublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 2018 JBoss by Red Hat. All rights reserved.