|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.lenya.ac.impl.AnonymousAuthenticator
public class AnonymousAuthenticator
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.
Field Summary |
---|
Fields inherited from interface org.apache.lenya.ac.Authenticator |
---|
ROLE |
Constructor Summary | |
---|---|
AnonymousAuthenticator()
|
Method Summary | |
---|---|
boolean |
authenticate(AccreditableManager accreditableManager,
org.apache.cocoon.environment.Request request)
Authenticates a 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 |
---|
public AnonymousAuthenticator()
Method Detail |
---|
public boolean authenticate(AccreditableManager accreditableManager, org.apache.cocoon.environment.Request request) throws AccessControlException
Authenticator
authenticate
in interface Authenticator
accreditableManager
- The accreditable manager to use.request
- The request.
true
if the request is authenticated, false
otherwise.
AccessControlException
- when something went wrong.Authenticator.authenticate(org.apache.lenya.ac.AccreditableManager,
org.apache.cocoon.environment.Request)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |