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

public class SignatureConfirmationPolicy extends WSSPolicy
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
  • Constructor Details

    • SignatureConfirmationPolicy

      public SignatureConfirmationPolicy()
      DefaultConstructor
  • Method Details

    • setSignatureValue

      public void setSignatureValue(String signatureValue)
      sets the Value attribute for SignatureConfirmation in this SignatureConfirmationPolicy
      Parameters:
      signatureValue -
    • getSignatureValue

      public String getSignatureValue()
      Returns:
      the Value attribute of SignatureConfirmation
    • equals

      public boolean equals(WSSPolicy policy)
      Description copied from class: WSSPolicy
      equals operator
      Specified by:
      equals in class WSSPolicy
      Parameters:
      policy - the policy to be compared for equality
      Returns:
      true if the argument policy is equal to this policy
      See Also:
    • equalsIgnoreTargets

      public boolean equalsIgnoreTargets(WSSPolicy policy)
      Equality comparison ignoring the targets
      Specified by:
      equalsIgnoreTargets in class WSSPolicy
      Parameters:
      policy - the policy to be compared for equality
      Returns:
      true if the argument policy is equal to this policy
    • clone

      public Object clone()
      Clone operator
      Specified by:
      clone in class WSSPolicy
      Returns:
      clone of this policy
      See Also:
    • 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 policy