|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opensaml.xml.AbstractXMLObject org.opensaml.xml.validation.AbstractValidatingXMLObject org.opensaml.common.impl.AbstractSAMLObject org.opensaml.saml2.core.impl.AuthnStatementImpl
public class AuthnStatementImpl
A concrete implementation of AuthnStatement
.
Field Summary | |
---|---|
private AuthnContext |
authnContext
Authentication Context of the Authentication Statement. |
private org.joda.time.DateTime |
authnInstant
Time of the authentication. |
private String |
sessionIndex
Index of the session. |
private org.joda.time.DateTime |
sessionNotOnOrAfter
Time at which the session ends. |
private SubjectLocality |
subjectLocality
Subject Locality of the Authentication Statement. |
Fields inherited from interface org.opensaml.saml2.core.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 |
Constructor Summary | |
---|---|
protected |
AuthnStatementImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
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()
|
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. |
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject |
---|
equals, hashCode, prepareForAssignment |
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, 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 |
---|
private SubjectLocality subjectLocality
private AuthnContext authnContext
private org.joda.time.DateTime authnInstant
private String sessionIndex
private org.joda.time.DateTime sessionNotOnOrAfter
Constructor Detail |
---|
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 namespaceMethod Detail |
---|
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |