com.atlassian.crowd.integration.authentication
Class PrincipalAuthenticationContext

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

public class PrincipalAuthenticationContext
extends AuthenticationContext
implements java.io.Serializable

The PrincipalAuthenticationContext is used by authenticating principals.

Version:
1.0
Author:
Justen Stepka
See Also:
Serialized Form

Constructor Summary
PrincipalAuthenticationContext()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.String getApplication()
          Gets the application the authentication request is for.
 int hashCode()
           
 void setApplication(java.lang.String application)
          Sets the application the authentication request is for.
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.crowd.integration.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

PrincipalAuthenticationContext

public PrincipalAuthenticationContext()
Method Detail

getApplication

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

Returns:
The application name.

setApplication

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

Parameters:
application - The application name.

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

toString

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.