org.apache.lenya.ac
Interface Authorizer

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

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

An Authorizer checks if an Identity is authorized to invoke a certain request.

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

Field Summary
static java.lang.String ROLE
          The Avalon role.
 
Method Summary
 boolean authorize(org.apache.cocoon.environment.Request request)
          Authorizes an identity at a URL.
 

Field Detail

ROLE

static final java.lang.String ROLE
The Avalon role.

Method Detail

authorize

boolean authorize(org.apache.cocoon.environment.Request request)
                  throws AccessControlException
Authorizes an identity at a URL.

Parameters:
request - The request.
Returns:
true if the identity is authorized, false otherwise.
Throws:
AccessControlException - when something went wrong.


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