org.jasig.cas.authentication.handler.support
Class SimpleTestUsernamePasswordAuthenticationHandler
java.lang.Object
org.jasig.cas.authentication.handler.support.AbstractPreAndPostProcessingAuthenticationHandler
org.jasig.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler
org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler
- All Implemented Interfaces:
- AuthenticationHandler, NamedAuthenticationHandler
public final class SimpleTestUsernamePasswordAuthenticationHandler
- extends AbstractUsernamePasswordAuthenticationHandler
Simple test implementation of a AuthenticationHandler that returns true if
the username and password match. This class should never be enabled in a
production environment and is only designed to facilitate unit testing and
load testing.
- Since:
- 3.0
- Version:
- $Revision$ $Date$
- Author:
- Scott Battaglia
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleTestUsernamePasswordAuthenticationHandler
public SimpleTestUsernamePasswordAuthenticationHandler()
authenticateUsernamePasswordInternal
public boolean authenticateUsernamePasswordInternal(UsernamePasswordCredentials credentials)
- Description copied from class:
AbstractUsernamePasswordAuthenticationHandler
- Abstract convenience method that assumes the credentials passed in are a
subclass of UsernamePasswordCredentials.
- Specified by:
authenticateUsernamePasswordInternal in class AbstractUsernamePasswordAuthenticationHandler
- Parameters:
credentials - the credentials representing the Username and Password
presented to CAS
- Returns:
- true if the credentials are authentic, false otherwise.
Copyright © 2004-2013 Jasig. All Rights Reserved.