|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
The class FSAuthenticationStatement
is used to create or parse
AuthenticationStatement Element.
Field Summary |
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(org.w3c.dom.Element element)
Constructor |
|
FSAuthenticationStatement(java.lang.String authMethod,
java.util.Date authInstant,
Subject subject,
AuthnContext authnContext)
Constructor |
|
FSAuthenticationStatement(java.lang.String authMethod,
java.util.Date authInstant,
Subject subject,
SubjectLocality subjectLocality,
java.util.List authorityBinding,
AuthnContext authnContext)
Constructor |
Method Summary | |
AuthnContext |
getAuthnContext()
Gets AuthnContext . |
int |
getMinorVersion()
Gets minor version |
java.util.Date |
getReauthenticateOnOrAfter()
Gets ReauthenticateOnOrAfter attribute. |
java.lang.String |
getSessionIndex()
Gets SessionIndex attribute. |
void |
setAuthnContext(AuthnContext authnContext)
Sets AuthnContext . |
void |
setMinorVersion(int version)
Sets minor version. |
void |
setReauthenticateOnOrAfter(java.util.Date reauthenticateOnOrAfter)
Sets ReauthenticateOnOrAfter attribute. |
void |
setSessionIndex(java.lang.String sessionIndex)
Sets SessionIndex attribute. |
java.lang.String |
toXMLString()
Returns a String representation of the Authentication Statement. |
java.lang.String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of the AuthenticationStatement |
Methods inherited from class com.sun.identity.saml.assertion.AuthenticationStatement |
getAuthenticaionMethod, getAuthenticationInstant, getAuthorityBinding, getStatementType, getSubjectLocality, setAuthenticaionMethod, setAuthenticationInstant, setAuthorityBinding, setSubjectLocality, toString, toString |
Methods inherited from class com.sun.identity.saml.assertion.SubjectStatement |
getSubject, setSubject |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FSAuthenticationStatement()
public FSAuthenticationStatement(java.lang.String authMethod, java.util.Date authInstant, Subject subject, AuthnContext authnContext) throws SAMLException
authMethod
- (optional) A String specifies the type of
authentication that took place.authInstant
- (optional) A String specifies the time at which the
authentication that took place.subject
- (required) A Subject objectauthnContext
- AuthnContext
.
SAMLException
- if unable to construct the statement object.public FSAuthenticationStatement(java.lang.String authMethod, java.util.Date authInstant, Subject subject, SubjectLocality subjectLocality, java.util.List authorityBinding, AuthnContext authnContext) throws SAMLException
authMethod
- (optional) A String specifies the type of
authentication that took place.authInstant
- (optional) A String specifies the time at which the
authentication that took place.subject
- (required) A Subject objectsubjectLocality
- (optional) A SubjectLocality
object.authorityBinding
- (optional) A List of
AuthorityBinding
objects.authnContext
- AuthnContext
object.
SAMLException
- if unable to construct the object.public FSAuthenticationStatement(org.w3c.dom.Element element) throws FSMsgException, SAMLException
element
- DOM Element for the authentication statement.
FSMsgException
- if unable to construct the object
SAMLException
- if there is an error in the sender or in theMethod Detail |
public java.lang.String getSessionIndex()
SessionIndex
attribute.
SessionIndex
attribute.public void setSessionIndex(java.lang.String sessionIndex)
SessionIndex
attribute.
sessionIndex
- session index to be set.public java.util.Date getReauthenticateOnOrAfter()
ReauthenticateOnOrAfter
attribute.
ReauthenticateOnOrAfter
as datepublic void setReauthenticateOnOrAfter(java.util.Date reauthenticateOnOrAfter)
ReauthenticateOnOrAfter
attribute.
reauthenticateOnOrAfter
- ReauthenticateOnOrAfter
to be set.public AuthnContext getAuthnContext()
AuthnContext
.
AuthnContext
public void setAuthnContext(AuthnContext authnContext)
AuthnContext
.
authnContext
- AuthnContext
to be setpublic int getMinorVersion()
public void setMinorVersion(int version)
version
- minor version to be set.public java.lang.String toXMLString() throws FSMsgException
<saml:AuthenticationStatement>
element.
FSMsgException
- if unable to get the XML string.public java.lang.String toXMLString(boolean includeNS, boolean declareNS) throws FSMsgException
AuthenticationStatement
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.
<saml:AuthenticationStatement>
element.
FSMsgException
- if unable to get the XML string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |