| java.lang.Object org.apache.jetspeed.security.PolicyWrapper
PolicyWrapper | public class PolicyWrapper implements Serializable(Code) | |
Simple wrapper for security policy providing the ability to add attribute on Policy and how they
should be used by the application.
author: David Le Strat |
Constructor Summary | |
public | PolicyWrapper(Policy policy, boolean useAsPolicy, boolean defaultPolicy) |
PolicyWrapper | public PolicyWrapper(Policy policy, boolean useAsPolicy, boolean defaultPolicy)(Code) | | Parameters: policy - Parameters: useAsPolicy - Parameters: defaultPolicy - |
getPolicy | public Policy getPolicy()(Code) | | Returns the policy. |
isDefaultPolicy | public boolean isDefaultPolicy()(Code) | | Returns the defaultPolicy. |
isUseAsPolicy | public boolean isUseAsPolicy()(Code) | | Returns the useAsPolicy. |
setDefaultPolicy | public void setDefaultPolicy(boolean defaultPolicy)(Code) | | Parameters: defaultPolicy - The defaultPolicy to set. |
setPolicy | public void setPolicy(Policy policy)(Code) | | Parameters: policy - The policy to set. |
setUseAsPolicy | public void setUseAsPolicy(boolean useAsPolicy)(Code) | | Parameters: useAsPolicy - The useAsPolicy to set. |
|
|