Klasse TextMatchAuthenticator

java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.fulcrum.security.authenticator.TextMatchAuthenticator
Alle implementierten Schnittstellen:
org.apache.avalon.framework.logger.LogEnabled, Authenticator

public class TextMatchAuthenticator extends org.apache.avalon.framework.logger.AbstractLogEnabled implements Authenticator
This class authenticates by doing a plain text match of the user's passwords. Very insecure! avalon.component name="textmatch-authenticator" avalon.service type="org.apache.fulcrum.security.authenticator.Authenticator"
Version:
$Id$
Autor:
Eric Pugh
  • Feldübersicht

    Von Schnittstelle geerbte Felder org.apache.fulcrum.security.authenticator.Authenticator

    ROLE
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    authenticate(User user, String password)
    Authenticate an username with the specified password.

    Von Klasse geerbte Methoden org.apache.avalon.framework.logger.AbstractLogEnabled

    enableLogging, getLogger, setupLogger, setupLogger, setupLogger

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • TextMatchAuthenticator

      public TextMatchAuthenticator()
  • Methodendetails

    • authenticate

      public boolean authenticate(User user, String password) throws DataBackendException
      Authenticate an username with the specified password. Returns true if the user password plain text matches the passed in password.
      Angegeben von:
      authenticate in Schnittstelle Authenticator
      Parameter:
      user - object
      password - the user supplied password.
      Löst aus:
      DataBackendException - if there is a problem accessing the storage.