Package 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 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
readonly
-
Constructor Summary
Constructors Constructor Description MLSPolicy()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract MLSPolicy
getFeatureBinding()
Get FeatureBinding componentabstract MLSPolicy
getKeyBinding()
Get KeyBinding componentboolean
isReadOnly()
void
isReadOnly(boolean readonly)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.wss.impl.policy.SecurityPolicy
getType
-
-
-
-
Method Detail
-
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.
-
-