|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.impl.AuthorizationProviderImpl
public class AuthorizationProviderImpl
AuthorizationProvider
Constructor Summary | |
---|---|
AuthorizationProviderImpl(java.security.Policy policy,
boolean useDefaultPolicy)
Constructor for adding another policy to be enforced. |
Method Summary | |
---|---|
java.util.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthorizationProviderImpl(java.security.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.
policy
- The policy to configure.useDefaultPolicy
- Whether to also use the default policy.Method Detail |
---|
public java.util.List getPolicies()
AuthorizationProvider
The list of configured policies.
getPolicies
in interface AuthorizationProvider
AuthorizationProvider.getPolicies()
public void useDefaultPolicy(boolean whetherToUseDefaultPolicy)
AuthorizationProvider
Whether to use the default policy or not in addition to the Policies configured for the AuthorizationProvider.
useDefaultPolicy
in interface AuthorizationProvider
whetherToUseDefaultPolicy
- Boolean false: does not use the default policy, true: does.AuthorizationProvider.useDefaultPolicy(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |