Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity
Interface AccessDecisionManager  view AccessDecisionManager download AccessDecisionManager.java


public interface AccessDecisionManager

Makes a final access control (authorization) decision.

Version:
$Id: AccessDecisionManager.java,v 1.8 2005/11/17 00:55:49 benalex Exp $

Method Summary
 void decide(Authentication authentication, java.lang.Object object, ConfigAttributeDefinition config)
          Resolves an access control decision for the passed parameters.
 boolean supports(ConfigAttribute attribute)
          Indicates whether this AccessDecisionManager is able to process authorization requests presented with the passed ConfigAttribute.
 

Method Detail

decide

public void decide(Authentication authentication,
                   java.lang.Object object,
                   ConfigAttributeDefinition config)
            throws AccessDeniedException,
                   InsufficientAuthenticationException
Resolves an access control decision for the passed parameters.


supports

public boolean supports(ConfigAttribute attribute)
Indicates whether this AccessDecisionManager is able to process authorization requests presented with the passed ConfigAttribute.

This allows the AbstractSecurityInterceptor to check every configuration attribute can be consumed by the configured AccessDecisionManager and/or RunAsManager and/or AfterInvocationManager.