SignedSupportingTokensProcessorpublic class SignedSupportingTokensProcessor extends SupportingTokensProcessor
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 void | addToPrimarySignature(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);
|
|