@Deprecated public class FSAuthenticationStatement extends AuthenticationStatement
FSAuthenticationStatement
element represents an
authentication statement by the issuer that it's subject was authenticated
by a particular means at a particular time.Constructor and Description |
---|
FSAuthenticationStatement()
Deprecated.
Default Constructor.
|
FSAuthenticationStatement(Element element)
Deprecated.
Constructs an
FSAuthenticationStatement object from a
Document Element. |
FSAuthenticationStatement(String authMethod,
Date authInstant,
Subject subject,
AuthnContext authnContext)
Deprecated.
Constructor to create
FSAuthenticationStatement object. |
FSAuthenticationStatement(String authMethod,
Date authInstant,
Subject subject,
SubjectLocality subjectLocality,
List authorityBinding,
AuthnContext authnContext)
Deprecated.
Constructor for create
FSAuthenticationStatement object. |
Modifier and Type | Method and Description |
---|---|
AuthnContext |
getAuthnContext()
Deprecated.
Returns the Authentication Context in this
authentication statement.
|
int |
getMinorVersion()
Deprecated.
Returns the value of
MinorVersion attribute. |
Date |
getReauthenticateOnOrAfter()
Deprecated.
Returns the re-authentication date for this
authentication statement.
|
String |
getSessionIndex()
Deprecated.
Returns the value of
SessionIndex attribute. |
void |
setAuthnContext(AuthnContext authnContext)
Deprecated.
Sets the Authentication Context object.
|
void |
setMinorVersion(int version)
Deprecated.
Sets the value of
MinorVersion attribute. |
void |
setReauthenticateOnOrAfter(Date reauthenticateOnOrAfter)
Deprecated.
Sets re-authentication date for this authentication
statement.
|
void |
setSessionIndex(String sessionIndex)
Deprecated.
Sets the
SessionIndex attribute. |
String |
toXMLString()
Deprecated.
Returns a String representation of this object.
|
String |
toXMLString(boolean includeNS,
boolean declareNS)
Deprecated.
Returns a String representation of this object.
|
createAuthorityBinding, createSubject, createSubjectLocality, getAuthenticaionMethod, getAuthenticationInstant, getAuthorityBinding, getStatementType, getSubjectLocality, setAuthenticaionMethod, setAuthenticationInstant, setAuthorityBinding, setSubjectLocality, toString, toString
getSubject, setSubject
public FSAuthenticationStatement()
public FSAuthenticationStatement(String authMethod, Date authInstant, Subject subject, AuthnContext authnContext) throws FSMsgException, SAMLException
FSAuthenticationStatement
object.authMethod
- the Authentication method in the statement.authInstant
- the authentication date in the statement.subject
- the Subject in the statement.authnContext
- the Authentication Context.FSMsgException
- if there is error
creating the object.SAMLException
- if the version is incorrect.public FSAuthenticationStatement(String authMethod, Date authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding, AuthnContext authnContext) throws FSMsgException, SAMLException
FSAuthenticationStatement
object.authMethod
- the Authentication method in the statement.authInstant
- the authentication date in the statement.subject
- the Subject
in the statement.subjectLocality
- the SubjectLocality
in the statement.authorityBinding
- a List of AuthorityBinding
objects.authnContext
- the Authentication Context.FSMsgException
- if there is an error
creating the object.SAMLException
- on error.public FSAuthenticationStatement(Element element) throws FSMsgException, SAMLException
FSAuthenticationStatement
object from a
Document Element.element
- the Document Element object.FSMsgException
- if document element is null
or required attributes cannot be retrieved from the element.SAMLException
- on error.public String getSessionIndex()
SessionIndex
attribute.SessionIndex
attribute.FSAuthenticationStatement.setSessionIndex(String)
public void setSessionIndex(String sessionIndex)
SessionIndex
attribute.sessionIndex
- the value of SessionIndex
attribute.FSAuthenticationStatement.getSessionIndex()
public Date getReauthenticateOnOrAfter()
FSAuthenticationStatement.setReauthenticateOnOrAfter(java.util.Date)
public void setReauthenticateOnOrAfter(Date reauthenticateOnOrAfter)
reauthenticateOnOrAfter
- the date object.FSAuthenticationStatement.getReauthenticateOnOrAfter()
public AuthnContext getAuthnContext()
FSAuthenticationStatement.setAuthnContext(AuthnContext)
public void setAuthnContext(AuthnContext authnContext)
authnContext
- the Authentication Context object.FSAuthenticationStatement.getAuthnContext()
public int getMinorVersion()
MinorVersion
attribute.MinorVersion
attribute.FSAuthenticationStatement.setMinorVersion(int)
public void setMinorVersion(int version)
MinorVersion
attribute.version
- the MinorVersion
attribute.FSAuthenticationStatement.getMinorVersion()
public String toXMLString() throws FSMsgException
FSMsgException
- if there is an error creating
the string.public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
includeNS
- Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.FSMsgException
- if there is an error creating
the string.Copyright © 2010-2018, ForgeRock All Rights Reserved.