org.apache.jetspeed.security.impl
Class AuthorizationProviderImpl

java.lang.Object
  extended by org.apache.jetspeed.security.impl.AuthorizationProviderImpl
All Implemented Interfaces:
org.apache.jetspeed.security.AuthorizationProvider

public class AuthorizationProviderImpl
extends Object
implements org.apache.jetspeed.security.AuthorizationProvider

Author:
David Le Strat
See Also:
AuthorizationProvider

Constructor Summary
AuthorizationProviderImpl(Policy policy, boolean useDefaultPolicy)
           Constructor for adding another policy to be enforced.
 
Method Summary
 List getPolicies()
           
 void useDefaultPolicy(boolean whetherToUseDefaultPolicy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationProviderImpl

public AuthorizationProviderImpl(Policy policy,
                                 boolean useDefaultPolicy)

Constructor for adding another policy to be enforced. This constructor makes the assumption that the input policy should be used as the primary policy.

Parameters:
policy - The policy to configure.
useDefaultPolicy - Whether to also use the default policy.
Method Detail

getPolicies

public List getPolicies()
Specified by:
getPolicies in interface org.apache.jetspeed.security.AuthorizationProvider
See Also:
AuthorizationProvider.getPolicies()

useDefaultPolicy

public void useDefaultPolicy(boolean whetherToUseDefaultPolicy)
Specified by:
useDefaultPolicy in interface org.apache.jetspeed.security.AuthorizationProvider
See Also:
AuthorizationProvider.useDefaultPolicy(boolean)


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