org.apache.jetspeed.security
Interface AuthorizationProvider


public interface AuthorizationProvider

Configures the policies. Instantiates the SecurityPolicies with the security policies that need to be enforced. It will add the default policy already configured as well as the engine policies used to enforce permission checks.

Author:
David Le Strat

Method Summary
 List getPolicies()
           The list of configured policies.
 void useDefaultPolicy(boolean whetherToUseDefaultPolicy)
           Whether to use the default policy or not in addition to the Policies configured for the AuthorizationProvider.
 

Method Detail

getPolicies

List getPolicies()

The list of configured policies.

Returns:
The list of policies.

useDefaultPolicy

void useDefaultPolicy(boolean whetherToUseDefaultPolicy)

Whether to use the default policy or not in addition to the Policies configured for the AuthorizationProvider.

Parameters:
whetherToUseDefaultPolicy - Boolean false: does not use the default policy, true: does.


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