com.sun.xml.wss.impl.policy
Interface SecurityPolicy

All Known Implementing Classes:
AuthenticationTokenPolicy, AuthenticationTokenPolicy.SAMLAssertionBinding, AuthenticationTokenPolicy.UsernameTokenBinding, AuthenticationTokenPolicy.X509CertificateBinding, DynamicSecurityPolicy, DynamicSecurityPolicy, EncryptionPolicy, EncryptionPolicy.FeatureBinding, MessagePolicy, MLSPolicy, PrivateKeyBinding, SecurityPolicyContainer, SignaturePolicy, SignaturePolicy.FeatureBinding, SymmetricKeyBinding, TimestampPolicy, WSSFeatureBindingExtension, WSSKeyBindingExtension, WSSPolicy

public interface SecurityPolicy

Tagging interface for the following Security Policy types (or any custom defined security policy type)


Method Summary
 java.lang.String getType()
          Get the type of the policy.
 

Method Detail

getType

java.lang.String getType()
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 Sun Microsystems, Inc. All Rights Reserved.