FileDocCategorySizeDatePackage
SignedSupportingTokensProcessor.javaAPI DocExample3713Tue May 29 16:56:50 BST 2007com.sun.xml.ws.security.impl.policyconv

SignedSupportingTokensProcessor

public class SignedSupportingTokensProcessor extends SupportingTokensProcessor
author
K.Venugopal@sun.com

Fields Summary
Constructors Summary
public SignedSupportingTokensProcessor(com.sun.xml.ws.security.policy.SignedSupportingTokens st, TokenProcessor tokenProcessor, com.sun.xml.ws.security.policy.Binding binding, XWSSPolicyContainer container, com.sun.xml.wss.impl.policy.mls.SignaturePolicy sp, com.sun.xml.wss.impl.policy.mls.EncryptionPolicy ep, PolicyID pid)
Creates a new instance of SignedSupportingTokensProcessor

        super(st,tokenProcessor,binding,container,sp,ep,pid);
    
Methods Summary
protected voidaddToPrimarySignature(com.sun.xml.wss.impl.policy.mls.WSSPolicy policy, com.sun.xml.ws.security.policy.Token token)

        SignatureTarget target = stc.newURISignatureTarget(policy.getUUID());
        SecurityPolicyUtil.setName(target, policy);
        if(!PolicyUtil.isUsernameToken((PolicyAssertion) token)){
            stc.addSTRTransform(target);
        }
        SignaturePolicy.FeatureBinding spFB = (SignaturePolicy.FeatureBinding)signaturePolicy.getFeatureBinding();
        spFB.addTargetBinding(target);