Class NoOpAuthenticator
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.fulcrum.security.authenticator.NoOpAuthenticator
-
- All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled
,Authenticator
public class NoOpAuthenticator extends org.apache.avalon.framework.logger.AbstractLogEnabled implements Authenticator
This class authenticates by returning TRUE always. Regardless of the user and password data. avalon.component name="noop-authenticator" avalon.service type="org.apache.fulcrum.security.authenticator.Authenticator"- Version:
- $Id$
- Author:
- Eric Pugh
-
-
Field Summary
-
Fields inherited from interface org.apache.fulcrum.security.authenticator.Authenticator
ROLE
-
-
Constructor Summary
Constructors Constructor Description NoOpAuthenticator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
authenticate(User user, String password)
-
-
-
Constructor Detail
-
NoOpAuthenticator
public NoOpAuthenticator()
-
-
Method Detail
-
authenticate
public boolean authenticate(User user, String password) throws DataBackendException
- Specified by:
authenticate
in interfaceAuthenticator
- Throws:
DataBackendException
-
-