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

SignedEndorsingSupportingTokensProcessor

public class SignedEndorsingSupportingTokensProcessor extends EndorsingSupportingTokensProcessor
author
K.Venugopal@sun.com

Fields Summary
Constructors Summary
public SignedEndorsingSupportingTokensProcessor(com.sun.xml.ws.security.policy.SupportingTokens 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 EndorsingSupportingTokensProcessor

        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) && !PolicyUtil.isSecureConversationToken((PolicyAssertion)token)){
            stc.addSTRTransform(target);
        }
        SignaturePolicy.FeatureBinding spFB = (SignaturePolicy.FeatureBinding)signaturePolicy.getFeatureBinding();
        spFB.addTargetBinding(target);