Class AuthenticationStatementBean
java.lang.Object
org.apache.wss4j.common.saml.bean.AuthenticationStatementBean
Class AuthenticationStatementBean represents the raw data required to create
a SAML v1.1 or v2.0 authentication statement.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorAuthenticationStatementBean(SubjectBean subject, String authenticationMethod, Instant authenticationInstant, Instant sessionNotOnOrAfter) Construct a new AuthenticationStatementBean -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the authentication instantGet the authentication methodfinal StringGet the session index.Get the sessionNotOnOrAfterGet the Subjectfinal SubjectLocalityBeanGet Subject Locality.inthashCode()voidsetAuthenticationInstant(Instant authenticationInstant) Set the authentication instantvoidsetAuthenticationMethod(String authenticationMethod) Set the authentication methodfinal voidsetSessionIndex(String sessionIndex) Set the session index.voidsetSessionNotOnOrAfter(Instant sessionNotOnOrAfter) Set the sessionNotOnOrAftervoidsetSubject(SubjectBean subject) Set the subjectfinal voidsetSubjectLocality(SubjectLocalityBean subjectLocality) Set Subject Locality.
-
Constructor Details
-
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 Details
-
getSubject
Get the Subject- Returns:
- the subject
-
setSubject
Set the subject- Parameters:
subject- the SubjectBean instance to set
-
getAuthenticationMethod
Get the authentication method- Returns:
- the authentication method
-
setAuthenticationMethod
Set the authentication method- Parameters:
authenticationMethod- the authentication method
-
getAuthenticationInstant
Get the authentication instant- Returns:
- the authentication instant
-
setAuthenticationInstant
Set the authentication instant- Parameters:
authenticationInstant- the authentication instant
-
getSessionNotOnOrAfter
Get the sessionNotOnOrAfter- Returns:
- the sessionNotOnOrAfter
-
setSessionNotOnOrAfter
Set the sessionNotOnOrAfter- Parameters:
sessionNotOnOrAfter- the sessionNotOnOrAfter
-
getSubjectLocality
Get Subject Locality.- Returns:
- the subjectLocality
-
setSubjectLocality
Set Subject Locality.- Parameters:
subjectLocality- the subjectLocality to set
-
getSessionIndex
Get the session index.- Returns:
- the sessionIndex
-
setSessionIndex
Set the session index.- Parameters:
sessionIndex- the sessionIndex to set
-
equals
-
hashCode
public int hashCode()
-