com.atlassian.crowd.integration.authentication
Class AuthenticationContext

java.lang.Object
  extended by com.atlassian.crowd.integration.authentication.AuthenticationContext
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ApplicationAuthenticationContext, PrincipalAuthenticationContext

public abstract class AuthenticationContext
extends java.lang.Object
implements java.io.Serializable

Minimal information necessary when authenticating verses the crowd server.

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

Constructor Summary
AuthenticationContext()
           
 
Method Summary
 PasswordCredential getCredential()
          Gets the authenticating credential information.
 java.lang.String getName()
          Gets the name of the authenticating entity.
 ValidationFactor[] getValidationFactors()
          Gets the authenticating validation factors.
 void setCredential(PasswordCredential credential)
          Sets the authenticating credential information.
 void setName(java.lang.String name)
          Sets the name of the authenticating entity.
 void setValidationFactors(ValidationFactor[] validationFactors)
          Sets the autenticating validation factors.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationContext

public AuthenticationContext()
Method Detail

getName

public java.lang.String getName()
Gets the name of the authenticating entity.

Returns:
The name.

setName

public void setName(java.lang.String name)
Sets the name of the authenticating entity.

Parameters:
name - The name.

getCredential

public PasswordCredential getCredential()
Gets the authenticating credential information.

Returns:
The credentials.

setCredential

public void setCredential(PasswordCredential credential)
Sets the authenticating credential information.

Parameters:
credential - The credentials.

getValidationFactors

public ValidationFactor[] getValidationFactors()
Gets the authenticating validation factors.

Returns:
The validation factors.

setValidationFactors

public void setValidationFactors(ValidationFactor[] validationFactors)
Sets the autenticating validation factors.

Parameters:
validationFactors - The validation factors.

toString

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


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.