|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
|---|
| 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(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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. |
java.util.List<org.opensaml.xml.XMLObject> |
getOrderedChildren()
|
java.lang.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(java.lang.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, 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.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 |
| Constructor Detail |
|---|
protected AuthnStatementImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
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 |
|---|
public SubjectLocality getSubjectLocality()
getSubjectLocality in interface AuthnStatementpublic void setSubjectLocality(SubjectLocality newSubjectLocality)
setSubjectLocality in interface AuthnStatementnewSubjectLocality - the DNS domain and IP address of the system where the principal was authenticatedpublic AuthnContext getAuthnContext()
getAuthnContext in interface AuthnStatementpublic void setAuthnContext(AuthnContext newAuthnContext)
setAuthnContext in interface AuthnStatementnewAuthnContext - the context used to authenticate the subjectpublic org.joda.time.DateTime getAuthnInstant()
getAuthnInstant in interface AuthnStatementpublic void setAuthnInstant(org.joda.time.DateTime newAuthnInstant)
setAuthnInstant in interface AuthnStatementnewAuthnInstant - the time when the authentication took placepublic java.lang.String getSessionIndex()
getSessionIndex in interface AuthnStatementpublic void setSessionIndex(java.lang.String newSessionIndex)
setSessionIndex in interface AuthnStatementnewSessionIndex - the session index between the principal and the authenticating authoritypublic org.joda.time.DateTime getSessionNotOnOrAfter()
getSessionNotOnOrAfter in interface AuthnStatementpublic void setSessionNotOnOrAfter(org.joda.time.DateTime newSessionNotOnOrAfter)
setSessionNotOnOrAfter in interface AuthnStatementnewSessionNotOnOrAfter - the time when the session between the principal and the SAML authority endspublic java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
getOrderedChildren in interface org.opensaml.xml.XMLObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||