Package com.sun.xml.wss.impl.policy.mls
Class MandatoryTargetPolicy.FeatureBinding
java.lang.Object
com.sun.xml.wss.impl.policy.MLSPolicy
com.sun.xml.wss.impl.policy.mls.WSSPolicy
com.sun.xml.wss.impl.policy.mls.MandatoryTargetPolicy.FeatureBinding
- All Implemented Interfaces:
SecurityPolicy,Cloneable
- Enclosing class:
- MandatoryTargetPolicy
-
Field Summary
Fields inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy
_featureBinding, _isOptional, _keyBinding, _policyIdentifier, bsp, UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTargetBinding(Target target) adds the Target representing the Header element that must be present in the message.clone()clone operatrorbooleanequals operatorbooleanequalsIgnoreTargets(WSSPolicy policy) getType()Get the type of the policy.Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy
getFeatureBinding, getKeyBinding, getPolicyIdentifier, getUUID, isBSP, isBSP, isOptional, isOptional, setFeatureBinding, setKeyBinding, setPolicyIdentifier, setUUIDMethods inherited from class com.sun.xml.wss.impl.policy.MLSPolicy
isReadOnly, isReadOnly
-
Constructor Details
-
FeatureBinding
public FeatureBinding()
-
-
Method Details
-
addTargetBinding
adds the Target representing the Header element that must be present in the message. Will by default set enforce flag on Target element to true. -
getTargetBindings
- Returns:
- list of Target elements
-
clone
Description copied from class:WSSPolicyclone operatror -
equals
Description copied from class:WSSPolicyequals operator -
equalsIgnoreTargets
- Specified by:
equalsIgnoreTargetsin classWSSPolicy- Returns:
- true if this policy is equal to the argument policy ignoring targets
-
getType
Description copied from interface:SecurityPolicyGet the type of the policy.Implementation Note: Useful to avoid instanceof checks and String.equals checks
- Returns:
- type of the policy
-