org.apache.ws.security.saml.ext.bean
Class AuthenticationStatementBean

java.lang.Object
  extended by org.apache.ws.security.saml.ext.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. Created on May 20, 2009


Constructor Summary
AuthenticationStatementBean()
          Default constructor
AuthenticationStatementBean(SubjectBean subject, String authenticationMethod, org.joda.time.DateTime authenticationInstant)
          Construct a new AuthenticationStatementBean
 
Method Summary
 boolean equals(Object o)
           
 org.joda.time.DateTime getAuthenticationInstant()
          Get the authentication instant
 String getAuthenticationMethod()
          Get the authentication method
 String getSessionIndex()
          Get the session index.
 SubjectBean getSubject()
          Get the Subject
 SubjectLocalityBean getSubjectLocality()
          Get Subject Locality.
 int hashCode()
           
 void setAuthenticationInstant(org.joda.time.DateTime authenticationInstant)
          Set the authentication instant
 void setAuthenticationMethod(String authenticationMethod)
          Set the authentication method
 void setSessionIndex(String sessionIndex)
          Set the session index.
 void setSubject(SubjectBean subject)
          Set the subject
 void setSubjectLocality(SubjectLocalityBean subjectLocality)
          Set Subject Locality.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationStatementBean

public AuthenticationStatementBean()
Default constructor


AuthenticationStatementBean

public AuthenticationStatementBean(SubjectBean subject,
                                   String authenticationMethod,
                                   org.joda.time.DateTime authenticationInstant)
Construct a new AuthenticationStatementBean

Parameters:
subject - the Subject to set
authenticationMethod - the Authentication Method to set
authenticationInstant - the Authentication Instant 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 org.joda.time.DateTime getAuthenticationInstant()
Get the authentication instant

Returns:
the authentication instant

setAuthenticationInstant

public void setAuthenticationInstant(org.joda.time.DateTime authenticationInstant)
Set the authentication instant

Parameters:
authenticationInstant - the authentication instant

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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.