com.pmease.quickbuild.security
Class FailSafeAuthenticator

java.lang.Object
  extended by com.pmease.quickbuild.extensionpoint.support.TypeInstance
      extended by com.pmease.quickbuild.security.Authenticator
          extended by com.pmease.quickbuild.security.FailSafeAuthenticator
All Implemented Interfaces:
java.io.Serializable

public class FailSafeAuthenticator
extends Authenticator

See Also:
Serialized Form

Constructor Summary
FailSafeAuthenticator()
           
 
Method Summary
 AuthenticationResult authenticate(java.lang.String userName, java.lang.String password)
          Authenticate specified user name and password against the authentication system represented by this authenticator.
 java.lang.String getEmail(java.lang.String userName)
          Get email address of specified user in the authentication system represented by this authenticator.
 
Methods inherited from class com.pmease.quickbuild.security.Authenticator
getDefaultGroupName, getDescription, getName, isDisabled, setDefaultGroupName, setDescription, setDisabled, setName
 
Methods inherited from class com.pmease.quickbuild.extensionpoint.support.TypeInstance
getPlugin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailSafeAuthenticator

public FailSafeAuthenticator()
Method Detail

authenticate

public AuthenticationResult authenticate(java.lang.String userName,
                                         java.lang.String password)
Description copied from class: Authenticator
Authenticate specified user name and password against the authentication system represented by this authenticator.

Specified by:
authenticate in class Authenticator
Parameters:
userName - user name to check
password - password to check
Returns:
authentication result if successful. Null should be returned if user not found or password is incorrect.

getEmail

public java.lang.String getEmail(java.lang.String userName)
Description copied from class: Authenticator
Get email address of specified user in the authentication system represented by this authenticator.

Specified by:
getEmail in class Authenticator
Returns:
null if user of specified name does not exist in the authentication


Copyright © 2005-2010 PMEase Inc. All Rights Reserved.