org.apache.lenya.ac
Interface Authenticator

All Superinterfaces:
org.apache.avalon.framework.component.Component

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

An authenticator.

Version:
$Id: Authenticator.java 473861 2006-11-12 03:51:14Z 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-2006 Apache Software Foundation. All Rights Reserved.