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 booleanequals(Object o)InstantgetAuthenticationInstant()Get the authentication instantStringgetAuthenticationMethod()Get the authentication methodStringgetSessionIndex()Get the session index.InstantgetSessionNotOnOrAfter()Get the sessionNotOnOrAfterSubjectBeangetSubject()Get the SubjectSubjectLocalityBeangetSubjectLocality()Get Subject Locality.inthashCode()voidsetAuthenticationInstant(Instant authenticationInstant)Set the authentication instantvoidsetAuthenticationMethod(String authenticationMethod)Set the authentication methodvoidsetSessionIndex(String sessionIndex)Set the session index.voidsetSessionNotOnOrAfter(Instant sessionNotOnOrAfter)Set the sessionNotOnOrAftervoidsetSubject(SubjectBean subject)Set the subjectvoidsetSubjectLocality(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
-
-