com.atlassian.crowd.model.authentication
Class UserAuthenticationContext

java.lang.Object
  extended by com.atlassian.crowd.model.authentication.AuthenticationContext
      extended by com.atlassian.crowd.model.authentication.UserAuthenticationContext
All Implemented Interfaces:
java.io.Serializable

public class UserAuthenticationContext
extends AuthenticationContext
implements java.io.Serializable

The UserAuthenticationContext is used to authenticate users.

See Also:
Serialized Form

Constructor Summary
UserAuthenticationContext()
           
UserAuthenticationContext(java.lang.String name, PasswordCredential credential, ValidationFactor[] validationFactors, java.lang.String application)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getApplication()
          Gets the application name the authentication request is for.
 int hashCode()
           
 void setApplication(java.lang.String application)
          Sets the application name the authentication request is for.
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.crowd.model.authentication.AuthenticationContext
getCredential, getName, getValidationFactors, setCredential, setName, setValidationFactors
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserAuthenticationContext

public UserAuthenticationContext()

UserAuthenticationContext

public UserAuthenticationContext(java.lang.String name,
                                 PasswordCredential credential,
                                 ValidationFactor[] validationFactors,
                                 java.lang.String application)
Method Detail

getApplication

public java.lang.String getApplication()
Gets the application name the authentication request is for.

Returns:
The application name.

setApplication

public void setApplication(java.lang.String application)
Sets the application name the authentication request is for.

Parameters:
application - The application name.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class AuthenticationContext

toString

public java.lang.String toString()
Overrides:
toString in class AuthenticationContext


Copyright © 2010 Atlassian. All Rights Reserved.