|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.identity.saml.assertion.Statement
com.sun.identity.saml.assertion.SubjectStatement
com.sun.identity.saml.assertion.AuthenticationStatement
com.sun.identity.federation.message.FSAuthenticationStatement
public class FSAuthenticationStatement
The FSAuthenticationStatement element represents an
authentication statement by the issuer that it's subject was authenticated
by a particular means at a particular time.
| Field Summary | |
|---|---|
protected AuthnContext |
_authnContext
|
protected int |
minorVersion
|
protected Date |
reauthenticateOnOrAfter
|
protected String |
sessionIndex
|
| Fields inherited from class com.sun.identity.saml.assertion.AuthenticationStatement |
|---|
_authenticationInstant, _authenticationMethod, _authorityBinding, _subjectLocality |
| Fields inherited from class com.sun.identity.saml.assertion.SubjectStatement |
|---|
_subject |
| Fields inherited from class com.sun.identity.saml.assertion.Statement |
|---|
ATTRIBUTE_STATEMENT, AUTHENTICATION_STATEMENT, AUTHORIZATION_DECISION_STATEMENT, NOT_SUPPORTED |
| Constructor Summary | |
|---|---|
FSAuthenticationStatement()
Default Constructor. |
|
FSAuthenticationStatement(Element element)
Constructs an FSAuthenticationStatement object from a
Document Element. |
|
FSAuthenticationStatement(String authMethod,
Date authInstant,
Subject subject,
AuthnContext authnContext)
Constructor to create FSAuthenticationStatement object. |
|
FSAuthenticationStatement(String authMethod,
Date authInstant,
Subject subject,
SubjectLocality subjectLocality,
List authorityBinding,
AuthnContext authnContext)
Constructor for create FSAuthenticationStatement object. |
|
| Method Summary | |
|---|---|
AuthnContext |
getAuthnContext()
Returns the Authentication Context in this authentication statement. |
int |
getMinorVersion()
Returns the value of MinorVersion attribute. |
Date |
getReauthenticateOnOrAfter()
Returns the re-authentication date for this authentication statement. |
String |
getSessionIndex()
Returns the value of SessionIndex attribute. |
void |
setAuthnContext(AuthnContext authnContext)
Sets the Authentication Context object. |
void |
setMinorVersion(int version)
Sets the value of MinorVersion attribute. |
void |
setReauthenticateOnOrAfter(Date reauthenticateOnOrAfter)
Sets re-authentication date for this authentication statement. |
void |
setSessionIndex(String sessionIndex)
Sets the SessionIndex attribute. |
String |
toXMLString()
Returns a String representation of this object. |
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of this object. |
| Methods inherited from class com.sun.identity.saml.assertion.AuthenticationStatement |
|---|
createAuthorityBinding, createSubject, createSubjectLocality, getAuthenticaionMethod, getAuthenticationInstant, getAuthorityBinding, getStatementType, getSubjectLocality, setAuthenticaionMethod, setAuthenticationInstant, setAuthorityBinding, setSubjectLocality, toString, toString |
| Methods inherited from class com.sun.identity.saml.assertion.SubjectStatement |
|---|
getSubject, setSubject |
| Field Detail |
|---|
protected Date reauthenticateOnOrAfter
protected String sessionIndex
protected AuthnContext _authnContext
protected int minorVersion
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public String getSessionIndex()
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.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||