com.sun.xml.wss.impl.policy
Class MLSPolicy
java.lang.Object
com.sun.xml.wss.impl.policy.MLSPolicy
- All Implemented Interfaces:
- SecurityPolicy
- Direct Known Subclasses:
- WSSPolicy
public abstract class MLSPolicy
- extends java.lang.Object
- implements SecurityPolicy
Represents a base class for Message Level Security (MLS) Policies.
Any MLSPolicy can be epxressed as being composed of one or both of
two SecurityPolicy components called FeatureBinding and KeyBinding.
This generic structure for an MLSPolicy allows for representing complex,
concrete Message Level Security Policies.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MLSPolicy
public MLSPolicy()
getFeatureBinding
public abstract MLSPolicy getFeatureBinding()
throws PolicyGenerationException
- Get FeatureBinding component
- Returns:
- FeatureBinding component of this MLSPolicy
- Throws:
PolicyGenerationException
- if a FeatureBinding component is invalid for this MLSPolicy
getKeyBinding
public abstract MLSPolicy getKeyBinding()
throws PolicyGenerationException
- Get KeyBinding component
- Returns:
- KeyBinding component of this MLSPolicy
- Throws:
PolicyGenerationException
- if a KeyBinding component is invalid for this MLSPolicy
isReadOnly
public void isReadOnly(boolean readonly)
- Parameters:
readonly
- set the readonly status of the policy.
isReadOnly
public boolean isReadOnly()
- Returns:
- true if policy is readonly.
Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.