FileDocCategorySizeDatePackage
SunProprietaryPolicySelector.javaAPI DocExample6563Tue May 29 16:56:36 BST 2007com.sun.xml.ws.policy.jaxws.impl

SunProprietaryPolicySelector

public class SunProprietaryPolicySelector extends Object implements com.sun.xml.ws.policy.spi.PolicyAssertionValidator
Implements SPI for selecting wsit related SUN's proprietary assertions.
author
japod

Fields Summary
private static final ArrayList
supportedAssertions
Constructors Summary
public SunProprietaryPolicySelector()
Creates a new instance of SunProprietaryPolicySelector

    
     
        
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_SERVER_POLICY_NS,
                "CertStore"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_SERVER_POLICY_NS,
                "CallbackHandlerConfiguration"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_SERVER_POLICY_NS,
                "CallbackHandler"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_SERVER_POLICY_NS,
                "ValidatorConfiguration"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_SERVER_POLICY_NS,
                "Validator"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_SERVER_POLICY_NS,
                "Timestamp"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_CLIENT_POLICY_NS,
                "CertStore"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_CLIENT_POLICY_NS,
                "CallbackHandlerConfiguration"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_CLIENT_POLICY_NS,
                "CallbackHandler"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_CLIENT_POLICY_NS,
                "ValidatorConfiguration"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_CLIENT_POLICY_NS,
                "Validator"));
        supportedAssertions.add(new QName(
                Constants.SUN_WSS_SECURITY_CLIENT_POLICY_NS,
                "Timestamp"));
        supportedAssertions.add(new QName(
                Constants.SUN_SECURE_SERVER_CONVERSATION_POLICY_NS,
                "SCConfiguration"));
        supportedAssertions.add(new QName(
                Constants.SUN_SECURE_SERVER_CONVERSATION_POLICY_NS,
                "Lifetime"));
        supportedAssertions.add(new QName(
                Constants.SUN_SECURE_CLIENT_CONVERSATION_POLICY_NS,
                "LifeTime"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "Contract"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "ServiceProviders"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "ServiceProvider"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "CertAlias"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "TokenType"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "KeyType"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "Issuer"));
        supportedAssertions.add(new QName(
                Constants.SUN_TRUST_SERVER_SECURITY_POLICY_NS,
                "LifeTime"));        
    
        // nothing to initialize
    
Methods Summary
public java.lang.String[]declareSupportedDomains()

        return new String[] {};
    
public com.sun.xml.ws.policy.spi.PolicyAssertionValidator.FitnessvalidateClientSide(com.sun.xml.ws.policy.PolicyAssertion assertion)

        return supportedAssertions.contains(assertion.getName()) ? Fitness.SUPPORTED : Fitness.UNKNOWN;
    
public com.sun.xml.ws.policy.spi.PolicyAssertionValidator.FitnessvalidateServerSide(com.sun.xml.ws.policy.PolicyAssertion assertion)

        return Fitness.UNKNOWN;