|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.security.PolicyWrapper
public class PolicyWrapper
Simple wrapper for security policy providing the ability to add attribute on Policy and how they should be used by the application.
Field Summary | |
---|---|
private boolean |
defaultPolicy
Whether to use as a default policy. |
private Policy |
policy
The policy. |
private static long |
serialVersionUID
The serial version uid. |
private boolean |
useAsPolicy
Whether to use as a policy. |
Constructor Summary | |
---|---|
PolicyWrapper(Policy policy,
boolean useAsPolicy,
boolean defaultPolicy)
|
Method Summary | |
---|---|
Policy |
getPolicy()
|
boolean |
isDefaultPolicy()
|
boolean |
isUseAsPolicy()
|
void |
setDefaultPolicy(boolean defaultPolicy)
|
void |
setPolicy(Policy policy)
|
void |
setUseAsPolicy(boolean useAsPolicy)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private transient Policy policy
private boolean useAsPolicy
private boolean defaultPolicy
Constructor Detail |
---|
public PolicyWrapper(Policy policy, boolean useAsPolicy, boolean defaultPolicy)
policy
- useAsPolicy
- defaultPolicy
- Method Detail |
---|
public Policy getPolicy()
public void setPolicy(Policy policy)
policy
- The policy to set.public boolean isDefaultPolicy()
public void setDefaultPolicy(boolean defaultPolicy)
defaultPolicy
- The defaultPolicy to set.public boolean isUseAsPolicy()
public void setUseAsPolicy(boolean useAsPolicy)
useAsPolicy
- The useAsPolicy to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |