Class FSAuthenticationStatement
- java.lang.Object
-
- com.sun.identity.saml.assertion.Statement
-
- com.sun.identity.saml.assertion.SubjectStatement
-
- com.sun.identity.saml.assertion.AuthenticationStatement
-
- com.sun.identity.federation.message.FSAuthenticationStatement
-
@Deprecated public class FSAuthenticationStatement extends AuthenticationStatement
Deprecated.since 12.0.0TheFSAuthenticationStatementelement represents an authentication statement by the issuer that it's subject was authenticated by a particular means at a particular time.
-
-
Field Summary
Fields Modifier and Type Field Description protected AuthnContext_authnContextDeprecated.protected intminorVersionDeprecated.protected DatereauthenticateOnOrAfterDeprecated.protected StringsessionIndexDeprecated.-
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
Constructors Constructor Description FSAuthenticationStatement()Deprecated.Default Constructor.FSAuthenticationStatement(String authMethod, Date authInstant, Subject subject, AuthnContext authnContext)Deprecated.Constructor to createFSAuthenticationStatementobject.FSAuthenticationStatement(String authMethod, Date authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding, AuthnContext authnContext)Deprecated.Constructor for createFSAuthenticationStatementobject.FSAuthenticationStatement(Element element)Deprecated.Constructs anFSAuthenticationStatementobject from a Document Element.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AuthnContextgetAuthnContext()Deprecated.Returns the Authentication Context in this authentication statement.intgetMinorVersion()Deprecated.Returns the value ofMinorVersionattribute.DategetReauthenticateOnOrAfter()Deprecated.Returns the re-authentication date for this authentication statement.StringgetSessionIndex()Deprecated.Returns the value ofSessionIndexattribute.voidsetAuthnContext(AuthnContext authnContext)Deprecated.Sets the Authentication Context object.voidsetMinorVersion(int version)Deprecated.Sets the value ofMinorVersionattribute.voidsetReauthenticateOnOrAfter(Date reauthenticateOnOrAfter)Deprecated.Sets re-authentication date for this authentication statement.voidsetSessionIndex(String sessionIndex)Deprecated.Sets theSessionIndexattribute.StringtoXMLString()Deprecated.Returns a String representation of this object.StringtoXMLString(boolean includeNS, boolean declareNS)Deprecated.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
-
reauthenticateOnOrAfter
protected Date reauthenticateOnOrAfter
Deprecated.
-
sessionIndex
protected String sessionIndex
Deprecated.
-
_authnContext
protected AuthnContext _authnContext
Deprecated.
-
minorVersion
protected int minorVersion
Deprecated.
-
-
Constructor Detail
-
FSAuthenticationStatement
public FSAuthenticationStatement()
Deprecated.Default Constructor.
-
FSAuthenticationStatement
public FSAuthenticationStatement(String authMethod, Date authInstant, Subject subject, AuthnContext authnContext) throws FSMsgException, SAMLException
Deprecated.Constructor to createFSAuthenticationStatementobject.- Parameters:
authMethod- the Authentication method in the statement.authInstant- the authentication date in the statement.subject- the Subject in the statement.authnContext- the Authentication Context.- Throws:
FSMsgException- if there is error creating the object.SAMLException- if the version is incorrect.
-
FSAuthenticationStatement
public FSAuthenticationStatement(String authMethod, Date authInstant, Subject subject, SubjectLocality subjectLocality, List authorityBinding, AuthnContext authnContext) throws FSMsgException, SAMLException
Deprecated.Constructor for createFSAuthenticationStatementobject.- Parameters:
authMethod- the Authentication method in the statement.authInstant- the authentication date in the statement.subject- theSubjectin the statement.subjectLocality- theSubjectLocalityin the statement.authorityBinding- a List ofAuthorityBindingobjects.authnContext- the Authentication Context.- Throws:
FSMsgException- if there is an error creating the object.SAMLException- on error.
-
FSAuthenticationStatement
public FSAuthenticationStatement(Element element) throws FSMsgException, SAMLException
Deprecated.Constructs anFSAuthenticationStatementobject from a Document Element.- Parameters:
element- the Document Element object.- Throws:
FSMsgException- if document element is null or required attributes cannot be retrieved from the element.SAMLException- on error.
-
-
Method Detail
-
getSessionIndex
public String getSessionIndex()
Deprecated.Returns the value ofSessionIndexattribute.- Returns:
- the value of SessionIndex attribute.
- See Also:
setSessionIndex(String)
-
setSessionIndex
public void setSessionIndex(String sessionIndex)
Deprecated.Sets theSessionIndexattribute.- Parameters:
sessionIndex- the value ofSessionIndexattribute.- See Also:
getSessionIndex()
-
getReauthenticateOnOrAfter
public Date getReauthenticateOnOrAfter()
Deprecated.Returns the re-authentication date for this authentication statement.- Returns:
- the re-authentication date for this object.
- See Also:
setReauthenticateOnOrAfter(java.util.Date)
-
setReauthenticateOnOrAfter
public void setReauthenticateOnOrAfter(Date reauthenticateOnOrAfter)
Deprecated.Sets re-authentication date for this authentication statement.- Parameters:
reauthenticateOnOrAfter- the date object.- See Also:
getReauthenticateOnOrAfter()
-
getAuthnContext
public AuthnContext getAuthnContext()
Deprecated.Returns the Authentication Context in this authentication statement.- Returns:
- the Authentication Context object.
- See Also:
setAuthnContext(AuthnContext)
-
setAuthnContext
public void setAuthnContext(AuthnContext authnContext)
Deprecated.Sets the Authentication Context object.- Parameters:
authnContext- the Authentication Context object.- See Also:
getAuthnContext()
-
getMinorVersion
public int getMinorVersion()
Deprecated.Returns the value ofMinorVersionattribute.- Returns:
- the value of
MinorVersionattribute. - See Also:
setMinorVersion(int)
-
setMinorVersion
public void setMinorVersion(int version)
Deprecated.Sets the value ofMinorVersionattribute.- Parameters:
version- theMinorVersionattribute.- See Also:
getMinorVersion()
-
toXMLString
public String toXMLString() throws FSMsgException
Deprecated.Returns a String representation of this object.- Returns:
- a String representation of this Object.
- Throws:
FSMsgException- if there is an error creating the string.
-
toXMLString
public String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
Deprecated.Returns a String representation of this object.- Parameters:
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.- Returns:
- A string containing the valid XML for this object.
- Throws:
FSMsgException- if there is an error creating the string.
-
-