Class AuthenticationStatementBean
- java.lang.Object
-
- org.apache.wss4j.common.saml.bean.AuthenticationStatementBean
-
public class AuthenticationStatementBean extends Object
Class AuthenticationStatementBean represents the raw data required to create a SAML v1.1 or v2.0 authentication statement.
-
-
Constructor Summary
Constructors Constructor Description AuthenticationStatementBean()
Default constructorAuthenticationStatementBean(SubjectBean subject, String authenticationMethod, Instant authenticationInstant, Instant sessionNotOnOrAfter)
Construct a new AuthenticationStatementBean
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Instant
getAuthenticationInstant()
Get the authentication instantString
getAuthenticationMethod()
Get the authentication methodString
getSessionIndex()
Get the session index.Instant
getSessionNotOnOrAfter()
Get the sessionNotOnOrAfterSubjectBean
getSubject()
Get the SubjectSubjectLocalityBean
getSubjectLocality()
Get Subject Locality.int
hashCode()
void
setAuthenticationInstant(Instant authenticationInstant)
Set the authentication instantvoid
setAuthenticationMethod(String authenticationMethod)
Set the authentication methodvoid
setSessionIndex(String sessionIndex)
Set the session index.void
setSessionNotOnOrAfter(Instant sessionNotOnOrAfter)
Set the sessionNotOnOrAftervoid
setSubject(SubjectBean subject)
Set the subjectvoid
setSubjectLocality(SubjectLocalityBean subjectLocality)
Set Subject Locality.
-
-
-
Constructor Detail
-
AuthenticationStatementBean
public AuthenticationStatementBean()
Default constructor
-
AuthenticationStatementBean
public AuthenticationStatementBean(SubjectBean subject, String authenticationMethod, Instant authenticationInstant, Instant sessionNotOnOrAfter)
Construct a new AuthenticationStatementBean- Parameters:
subject
- the Subject to setauthenticationMethod
- the Authentication Method to setauthenticationInstant
- the Authentication Instant to setsessionNotOnOrAfter
- the Session NotOnOrAfter time to set
-
-
Method Detail
-
getSubject
public SubjectBean getSubject()
Get the Subject- Returns:
- the subject
-
setSubject
public void setSubject(SubjectBean subject)
Set the subject- Parameters:
subject
- the SubjectBean instance to set
-
getAuthenticationMethod
public String getAuthenticationMethod()
Get the authentication method- Returns:
- the authentication method
-
setAuthenticationMethod
public void setAuthenticationMethod(String authenticationMethod)
Set the authentication method- Parameters:
authenticationMethod
- the authentication method
-
getAuthenticationInstant
public Instant getAuthenticationInstant()
Get the authentication instant- Returns:
- the authentication instant
-
setAuthenticationInstant
public void setAuthenticationInstant(Instant authenticationInstant)
Set the authentication instant- Parameters:
authenticationInstant
- the authentication instant
-
getSessionNotOnOrAfter
public Instant getSessionNotOnOrAfter()
Get the sessionNotOnOrAfter- Returns:
- the sessionNotOnOrAfter
-
setSessionNotOnOrAfter
public void setSessionNotOnOrAfter(Instant sessionNotOnOrAfter)
Set the sessionNotOnOrAfter- Parameters:
sessionNotOnOrAfter
- the sessionNotOnOrAfter
-
getSubjectLocality
public final SubjectLocalityBean getSubjectLocality()
Get Subject Locality.- Returns:
- the subjectLocality
-
setSubjectLocality
public final void setSubjectLocality(SubjectLocalityBean subjectLocality)
Set Subject Locality.- Parameters:
subjectLocality
- the subjectLocality to set
-
getSessionIndex
public final String getSessionIndex()
Get the session index.- Returns:
- the sessionIndex
-
setSessionIndex
public final void setSessionIndex(String sessionIndex)
Set the session index.- Parameters:
sessionIndex
- the sessionIndex to set
-
-