com.ibm.wsspi.security.policy
Interface WSPolicy
All Superinterfaces:
Extensible, java.lang.Iterable<WSPolicy>, java.io.Serializable
All known implementing classes:
- public interface WSPolicy
- extends Extensible, java.io.Serializable, java.lang.Iterable<WSPolicy>
Since:
WAS 7.0
Version:
WAS 7.0
Method Summary
Modifier and Type | Method and Description |
---|---|
|
add(WSPolicy policy)
Adds the given policy to this WSPolicy instance.
|
|
isComplete()
Invokes
isComplete() in all contained WSPolicy instances and returns true if all return true.
|
|
remove(WSPolicy policy)
Removes all instances of the given policy from this WSPolicy instance.
|
Methods inherited from interface com.ibm.wsspi.security.policy.Extensible |
---|
getExtensionAdapter |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail
add
- void add(WSPolicy policy)
Adds the given policy to this WSPolicy instance.
Parameters:
policy
- to be added to this WSPolicy instance. isComplete
- boolean isComplete()
Invokes
isComplete()
in all contained WSPolicy instances and returns true if all return true.
If this WSPolicy contains no child WSPolicy's, it returns true.
Returns:
true if
isComplete()
in all contained WSPolicy instances returns true. remove
- void remove(WSPolicy policy)
Removes all instances of the given policy from this WSPolicy instance.
Parameters:
policy
- to be removed from this WSPolicy instance.