java.lang.Object
com.sun.xml.wss.impl.policy.MLSPolicy
com.sun.xml.wss.impl.policy.mls.WSSPolicy
All Implemented Interfaces:
SecurityPolicy, Cloneable
Direct Known Subclasses:
EncryptionPolicy.FeatureBinding, KeyBindingBase, MandatoryTargetPolicy, MandatoryTargetPolicy.FeatureBinding, PrivateKeyBinding, SignatureConfirmationPolicy, SignaturePolicy.FeatureBinding, TimestampPolicy, WSSFeatureBindingExtension, WSSKeyBindingExtension

public abstract class WSSPolicy extends MLSPolicy implements Cloneable
Represents a base class for SOAP Message Security Policies. Any WSSPolicy can be epxressed as being composed of one or both of two SecurityPolicy components called FeatureBinding and KeyBinding. This generic structure for a WSSPolicy allows for representing complex, concrete WSS Policy Instances. For example, A SignaturePolicy can have a SAMLAssertion as its KeyBinding. The SAMLAssertionBinding can in turn have a KeyBinding which is a PrivateKeyBinding. The PrivateKeyBinding would contain a PrivateKey corresponding to the PublicKey contained in the SAML Assertion of the SAMLAssertionBinding. Such a SignaturePolicy instance can then be used by the XWS-Runtime to sign Message parts of an outgoing SOAP Message. The MessageParts to be signed are inturn identified by the FeatureBinding component of the SignaturePolicy.
  • Field Details

    • UUID

      protected String UUID
    • _policyIdentifier

      protected String _policyIdentifier
    • _keyBinding

      protected MLSPolicy _keyBinding
    • _featureBinding

      protected MLSPolicy _featureBinding
    • _isOptional

      protected boolean _isOptional
    • bsp

      protected boolean bsp
  • Constructor Details

    • WSSPolicy

      public WSSPolicy()
      Default constructor
  • Method Details