org.apache.lenya.ac.impl
Class AnonymousAuthenticator

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.ac.impl.AnonymousAuthenticator
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, org.apache.avalon.framework.logger.LogEnabled, org.apache.lenya.ac.Authenticator

public class AnonymousAuthenticator
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.lenya.ac.Authenticator

The anonymous authenticator authenticates to an anonymous user with no password (you just have to add a user named 'anonymous' with an arbitrary password and the permissions you'd like via the admin screen). This is useful in conjunction with client certificates.

Version:
$Id: AnonymousAuthenticator.java 473861 2006-11-12 03:51:14Z gregor $

Field Summary
 
Fields inherited from interface org.apache.lenya.ac.Authenticator
ROLE
 
Constructor Summary
AnonymousAuthenticator()
           
 
Method Summary
 boolean authenticate(org.apache.lenya.ac.AccreditableManager accreditableManager, org.apache.cocoon.environment.Request request)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnonymousAuthenticator

public AnonymousAuthenticator()
Method Detail

authenticate

public boolean authenticate(org.apache.lenya.ac.AccreditableManager accreditableManager,
                            org.apache.cocoon.environment.Request request)
                     throws org.apache.lenya.ac.AccessControlException
Specified by:
authenticate in interface org.apache.lenya.ac.Authenticator
Throws:
org.apache.lenya.ac.AccessControlException
See Also:
Authenticator.authenticate(org.apache.lenya.ac.AccreditableManager, org.apache.cocoon.environment.Request)


Copyright $ Apache Software Foundation. All Rights Reserved.