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.
 
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. If this parameter is null, this method should return information about the user without checking the password
Returns:
authentication result if successful. Null should be returned if user not found or password is incorrect.


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