Klasse CryptoAuthenticator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.security.authenticator.CryptoAuthenticator
- Alle implementierten Schnittstellen:
- org.apache.avalon.framework.activity.Disposable,- org.apache.avalon.framework.configuration.Configurable,- org.apache.avalon.framework.logger.LogEnabled,- org.apache.avalon.framework.service.Serviceable,- Authenticator
public class CryptoAuthenticator
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements Authenticator, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.configuration.Configurable
This class authenticates using the Fulcrum Crypto service a user and their
 password
 
 avalon.component name="crypto-authenticator"
 avalon.service  type="org.apache.fulcrum.security.authenticator.Authenticator"
- Version:
- $Id$
- Autor:
- Eric Pugh
- 
FeldübersichtFelderModifizierer und TypFeldBeschreibungprotected org.apache.fulcrum.crypto.CryptoServiceVon Schnittstelle geerbte Felder org.apache.fulcrum.security.authenticator.AuthenticatorROLE
- 
KonstruktorübersichtKonstruktoren
- 
MethodenübersichtModifizierer und TypMethodeBeschreibungbooleanauthenticate(User user, String password) Authenticate a user with the specified password.voidconfigure(org.apache.avalon.framework.configuration.Configuration conf) voiddispose()voidservice(org.apache.avalon.framework.service.ServiceManager manager) Von Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabledenableLogging, getLogger, setupLogger, setupLogger, setupLogger
- 
Felddetails- 
cryptoServiceprotected org.apache.fulcrum.crypto.CryptoService cryptoService
 
- 
- 
Konstruktordetails- 
CryptoAuthenticatorpublic CryptoAuthenticator()
 
- 
- 
Methodendetails- 
authenticateAuthenticate a user with the specified password. If authentication is successful the method returns true. If it fails, it returns false If there are any problems, an exception is thrown.- Angegeben von:
- authenticatein Schnittstelle- Authenticator
- Parameter:
- user- a User object.
- password- the user supplied password.
- Löst aus:
- DataBackendException- if there is a problem accessing the storage.
 
- 
configurepublic void configure(org.apache.avalon.framework.configuration.Configuration conf) throws org.apache.avalon.framework.configuration.ConfigurationException - Angegeben von:
- configurein Schnittstelle- org.apache.avalon.framework.configuration.Configurable
- Löst aus:
- org.apache.avalon.framework.configuration.ConfigurationException
 
- 
servicepublic void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException - Angegeben von:
- servicein Schnittstelle- org.apache.avalon.framework.service.Serviceable
- Löst aus:
- org.apache.avalon.framework.service.ServiceException
 
- 
disposepublic void dispose()- Angegeben von:
- disposein Schnittstelle- org.apache.avalon.framework.activity.Disposable
 
 
-