org.apache.lenya.ac
Interface Authenticator

All Superinterfaces:
org.apache.avalon.framework.component.Component
All Known Implementing Classes:
AnonymousAuthenticator, UserAuthenticator

public interface Authenticator
extends org.apache.avalon.framework.component.Component

An authenticator.

Version:
$Id: Authenticator.java 473841 2006-11-12 00:46:38Z gregor $

Field Summary
static java.lang.String ROLE
          Avalon role.
 
Method Summary
 boolean authenticate(AccreditableManager accreditableManager, org.apache.cocoon.environment.Request request)
          Authenticates a request.
 

Field Detail

ROLE

static final java.lang.String ROLE
Avalon role.

Method Detail

authenticate

boolean authenticate(AccreditableManager accreditableManager,
                     org.apache.cocoon.environment.Request request)
                     throws AccessControlException
Authenticates a request.

Parameters:
accreditableManager - The accreditable manager to use.
request - The request.
Returns:
true if the request is authenticated, false otherwise.
Throws:
AccessControlException - when something went wrong.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.