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 java.lang.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, java.lang.String authenticationMethod, org.joda.time.DateTime authenticationInstant)
          Construct a new AuthenticationStatementBean
 
Method Summary
 boolean equals(java.lang.Object o)
           
 org.joda.time.DateTime getAuthenticationInstant()
          Get the authentication instant
 java.lang.String getAuthenticationMethod()
          Get the authentication method
 SubjectBean getSubject()
          Get the Subject
 int hashCode()
           
 void setAuthenticationInstant(org.joda.time.DateTime authenticationInstant)
          Set the authentication instant
 void setAuthenticationMethod(java.lang.String authenticationMethod)
          Set the authentication method
 void setSubject(SubjectBean subject)
          Set the subject
 
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,
                                   java.lang.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 java.lang.String getAuthenticationMethod()
Get the authentication method

Returns:
the authentication method

setAuthenticationMethod

public void setAuthenticationMethod(java.lang.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

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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