|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.security.SecurityPolicies
public class SecurityPolicies
This class is used to hold the security that will be used when applying security policies. It uses a singleton pattern to maintain state of the policies configured in the consuming engine.
| Method Summary | |
|---|---|
void |
addPolicy(PolicyWrapper wrappedPolicy)
Adds a policy to the list of policies to enforces. |
static SecurityPolicies |
getInstance()
Returns the singleton instance for SecurityPolicies. |
java.util.List |
getPolicies()
Returns the security policies to enforce as list of Policy. |
java.util.List |
getUsedPolicies()
Returns the security policies to be enforced as list of Policy. |
java.util.List |
getWrappedPolicies()
Returns the security policies to enforce as list of PolicyWrapper. |
void |
removePolicy(PolicyWrapper policy)
Removes a policy from the list of policies to enforces. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SecurityPolicies getInstance()
Returns the singleton instance for SecurityPolicies.
public void addPolicy(PolicyWrapper wrappedPolicy)
Adds a policy to the list of policies to enforces.
wrappedPolicy - The PolicyWrapper to add.public java.util.List getPolicies()
Returns the security policies to enforce as list of Policy.
public java.util.List getUsedPolicies()
Returns the security policies to be enforced as list of Policy.
public java.util.List getWrappedPolicies()
Returns the security policies to enforce as list of PolicyWrapper.
public void removePolicy(PolicyWrapper policy)
Removes a policy from the list of policies to enforces.
policy - The Policy to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||