gov.virginia.dcjs.identity.saml
Class AuthnStatement

java.lang.Object
  extended bygov.virginia.dcjs.ws.Element
      extended bygov.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.


Constructor Summary
AuthnStatement(java.lang.String authnInstant, AuthnContext context)
           
 
Method Summary
 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.
 void setSessionNotOnOrAfter(java.lang.String datetime)
           
 void setSubjectLocality(SubjectLocality locality)
           
 
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
 
Methods inherited from interface gov.virginia.dcjs.ws.XmlElement
declareNamespaces, getNamespaces, toXml
 

Constructor Detail

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.
Method Detail

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