com.sun.xml.wss.impl.policy.mls
Class WSSFeatureBindingExtension

java.lang.Object
  extended by com.sun.xml.wss.impl.policy.MLSPolicy
      extended by com.sun.xml.wss.impl.policy.mls.WSSPolicy
          extended by com.sun.xml.wss.impl.policy.mls.WSSFeatureBindingExtension
All Implemented Interfaces:
SecurityPolicy, java.lang.Cloneable
Direct Known Subclasses:
AuthenticationTokenPolicy

public abstract class WSSFeatureBindingExtension
extends WSSPolicy


Constructor Summary
WSSFeatureBindingExtension()
          Creates a new instance of WSSFeatureBindingExtension
 
Method Summary
 MLSPolicy newSAMLAssertionFeatureBinding()
          Create and set the FeatureBinding for this WSSPolicy to a SAMLAssertionBinding
 MLSPolicy newUsernameTokenFeatureBinding()
          Create and set the FeatureBinding for this WSSPolicy to a UsernameTokenBinding
 MLSPolicy newX509CertificateFeatureBinding()
          Create and set the FeatureBinding for this WSSPolicy to an X509CertificateBinding
 
Methods inherited from class com.sun.xml.wss.impl.policy.mls.WSSPolicy
clone, equals, equalsIgnoreTargets, getFeatureBinding, getKeyBinding, getPolicyIdentifier, getUUID, isBSP, isBSP, isOptional, isOptional, setFeatureBinding, setKeyBinding, setPolicyIdentifier, setUUID
 
Methods inherited from class com.sun.xml.wss.impl.policy.MLSPolicy
isReadOnly, isReadOnly
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.impl.policy.SecurityPolicy
getType
 

Constructor Detail

WSSFeatureBindingExtension

public WSSFeatureBindingExtension()
Creates a new instance of WSSFeatureBindingExtension

Method Detail

newUsernameTokenFeatureBinding

public MLSPolicy newUsernameTokenFeatureBinding()
                                         throws PolicyGenerationException
Create and set the FeatureBinding for this WSSPolicy to a UsernameTokenBinding

Returns:
a new UsernameTokenBinding as a FeatureBinding for this WSSPolicy
Throws:
PolicyGenerationException - if UsernameTokenBinding is not a valid FeatureBinding for this WSSPolicy
See Also:
SignaturePolicy, EncryptionPolicy, AuthenticationTokenPolicy

newX509CertificateFeatureBinding

public MLSPolicy newX509CertificateFeatureBinding()
                                           throws PolicyGenerationException
Create and set the FeatureBinding for this WSSPolicy to an X509CertificateBinding

Returns:
a new X509CertificateBinding as a FeatureBinding for this WSSPolicy
Throws:
PolicyGenerationException - if X509CertificateBinding is not a valid FeatureBinding for this WSSPolicy
See Also:
SignaturePolicy, EncryptionPolicy, AuthenticationTokenPolicy

newSAMLAssertionFeatureBinding

public MLSPolicy newSAMLAssertionFeatureBinding()
                                         throws PolicyGenerationException
Create and set the FeatureBinding for this WSSPolicy to a SAMLAssertionBinding

Returns:
a new SAMLAssertionBinding as a FeatureBinding for this WSSPolicy
Throws:
PolicyGenerationException - if SAMLAssertionBinding is not a valid FeatureBinding for this WSSPolicy
See Also:
SignaturePolicy, EncryptionPolicy, AuthenticationTokenPolicy


Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.