public void execute(WSHandler handler, int actionToDo, Document doc, RequestData reqData) throws WSSecurityException { WSSecSAMLToken builder = new WSSecSAMLToken(reqData.getWssConfig()); SAMLIssuer saml = loadSamlIssuer(handler, reqData); AssertionWrapper assertion = saml.newAssertion(); // add the SAMLAssertion Token to the SOAP Envelope builder.build(doc, assertion, reqData.getSecHeader()); } }
AssertionWrapper assertion = saml.newAssertion(); if (assertion == null) { throw new WSSecurityException("WSHandler: Signed SAML: no SAML token received"); crypto, assertion, saml.getIssuerCrypto(), saml.getIssuerKeyName(), saml.getIssuerKeyPassword(), reqData.getSecHeader()); reqData.getSignatureValues().add(wsSign.getSignatureValue());
); if (callbackHandler != null) { samlIssuer.setCallbackHandler(callbackHandler);
AssertionWrapper assertion = saml.newAssertion(); if (assertion == null) { throw new WSSecurityException("WSHandler: Signed SAML: no SAML token received"); crypto, assertion, saml.getIssuerCrypto(), saml.getIssuerKeyName(), saml.getIssuerKeyPassword(), reqData.getSecHeader()); reqData.getSignatureValues().add(wsSign.getSignatureValue());
); if (callbackHandler != null) { samlIssuer.setCallbackHandler(callbackHandler);
public void execute(WSHandler handler, int actionToDo, Document doc, RequestData reqData) throws WSSecurityException { WSSecSAMLToken builder = new WSSecSAMLToken(reqData.getWssConfig()); SAMLIssuer saml = loadSamlIssuer(handler, reqData); AssertionWrapper assertion = saml.newAssertion(); // add the SAMLAssertion Token to the SOAP Envelope builder.build(doc, assertion, reqData.getSecHeader()); } }