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