This project has retired. For details please refer to its
        
        Attic page.
      
 
org.apache.lenya.ac
Interface Authorizer
- All Superinterfaces: 
 - org.apache.avalon.framework.component.Component
 
- All Known Implementing Classes: 
 - PolicyAuthorizer, UsecaseAuthorizer, WorkflowAuthorizer
 
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 473841 2006-11-12 00:46:38Z 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. | 
 
ROLE
static final java.lang.String ROLE
- The Avalon role.
 
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-2005 Apache Software Foundation. All Rights Reserved.