Package com.sun.xml.wss.impl.policy.mls
Class SignatureConfirmationPolicy
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.SignatureConfirmationPolicy
- All Implemented Interfaces:
SecurityPolicy,Cloneable
A policy representing a WSS1.1 SignatureConfirmation element.
Note: The SignatureConfirmationPolicy is WSSPolicy element that does not contain a
concrete FeatureBinding and/or KeyBinding.
- Author:
- Ashutosh.Shahi@sun.com
-
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 TypeMethodDescriptionclone()Clone operatorbooleanequals operatorbooleanequalsIgnoreTargets(WSSPolicy policy) Equality comparison ignoring the targetsgetType()Get the type of the policy.voidsetSignatureValue(String signatureValue) sets the Value attribute for SignatureConfirmation in this SignatureConfirmationPolicyMethods 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
-
SignatureConfirmationPolicy
public SignatureConfirmationPolicy()DefaultConstructor
-
-
Method Details
-
setSignatureValue
sets the Value attribute for SignatureConfirmation in this SignatureConfirmationPolicy- Parameters:
signatureValue-
-
getSignatureValue
- Returns:
- the Value attribute of SignatureConfirmation
-
equals
Description copied from class:WSSPolicyequals operator -
equalsIgnoreTargets
Equality comparison ignoring the targets- Specified by:
equalsIgnoreTargetsin classWSSPolicy- Parameters:
policy- the policy to be compared for equality- Returns:
- true if the argument policy is equal to this policy
-
clone
Clone operator -
getType
Description copied from interface:SecurityPolicyGet the type of the policy.Implementation Note: Useful to avoid instanceof checks and String.equals checks
- Returns:
- the type of policy
-