gov.virginia.dcjs.identity.saml
Class AuthnStatement
java.lang.Object
gov.virginia.dcjs.ws.Element
gov.virginia.dcjs.identity.saml.AuthnStatement
- All Implemented Interfaces:
- org.apache.soap.util.xml.Serializer, StatementAbstractType, XmlElement
- public class AuthnStatement
- extends Element
- implements StatementAbstractType
Use this class to describe a statement by the SAML authority asserting
that the assertion subject was authenticated by a particular means at
a particular time.
| Methods inherited from class gov.virginia.dcjs.ws.Element |
addAttribute, addElement, arrayAppend, declareNamespaces, getNamespaces, marshall, removeAttribute, removeElement, setContent, toString, toXml |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthnStatement
public AuthnStatement(java.lang.String authnInstant,
AuthnContext context)
- Parameters:
authnInstant - UTC xs:dateTime the authentication took place.context - Context used for authentication by Authority.
setSessionIndex
public void setSessionIndex(java.lang.String session)
- One SAML recommended means for this is to use the enclosing
Assertion's ID value for the session index.
- Parameters:
session - Particular session index between the Principal and the Authority.
setSessionNotOnOrAfter
public void setSessionNotOnOrAfter(java.lang.String datetime)
- Parameters:
datetime - UTC xs:dateTime indicating when the session must be ended
setSubjectLocality
public void setSubjectLocality(SubjectLocality locality)
- Parameters:
locality - DNS and IP address where assertion subject was authenticated