com.sun.xml.wss.impl.policy.mls
Class MandatoryTargetPolicy
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
- All Implemented Interfaces:
- SecurityPolicy, Cloneable
public class MandatoryTargetPolicy
- extends WSSPolicy
Represents mandatory header elements that need to present in the message.
- Author:
- K.Venugopal@sun.com
| Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy |
getFeatureBinding, getKeyBinding, getPolicyIdentifier, getUUID, isBSP, isBSP, isOptional, isOptional, setFeatureBinding, setKeyBinding, setPolicyIdentifier, setUUID |
MandatoryTargetPolicy
public MandatoryTargetPolicy()
- Creates a new instance of MandatoryTargetPolicy
clone
public Object clone()
- Description copied from class:
WSSPolicy
- clone operatror
- Specified by:
clone in class WSSPolicy
- Returns:
- clone
- See Also:
SignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicy
equals
public boolean equals(WSSPolicy policy)
- Description copied from class:
WSSPolicy
- equals operator
- Specified by:
equals in class WSSPolicy
- Parameters:
policy -
- Returns:
- true of policy is equal to this policy
- See Also:
SignaturePolicy,
EncryptionPolicy,
AuthenticationTokenPolicy,
PrivateKeyBinding,
SymmetricKeyBinding
equalsIgnoreTargets
public boolean equalsIgnoreTargets(WSSPolicy policy)
- Specified by:
equalsIgnoreTargets in class WSSPolicy
- Parameters:
policy -
- Returns:
- true if argument policy is equal to this policy ignoring targets
getType
public String getType()
- Description copied from interface:
SecurityPolicy
- Get the type of the policy.
Implementation Note: Useful to avoid instanceof checks and String.equals checks
- Returns:
- the type of the policy
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.