[prev in list] [next in list] [prev in thread] [next in thread] 

List:       woden-dev
Subject:    [jira] [Commented] (WSS-698) No way to call requestData.setSignatureProvider() in WSS4JOutIntercepto
From:       "Stefan Berger (Jira)" <jira () apache ! org>
Date:       2022-10-03 9:36:00
Message-ID: JIRA.13481169.1663009672000.357424.1664789760218 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/WSS-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17612226#comment-17612226 \
] 

Stefan Berger commented on WSS-698:
-----------------------------------

Thank you for your help! My code now looks like this in case other people need it:
{code:java}
  @Override
   protected void doReceiverAction(List<Integer> actions, RequestData reqData)
         throws WSSecurityException {
      reqData.setSignatureProvider(Security.getProvider("BC"));
      super.doReceiverAction(actions, reqData);
   } {code}

> No way to call requestData.setSignatureProvider() in WSS4JOutInterceptor and \
>                 WSS4JInInterceptor
> -----------------------------------------------------------------------------------------------
>  
> Key: WSS-698
> URL: https://issues.apache.org/jira/browse/WSS-698
> Project: WSS4J
> Issue Type: Bug
> Reporter: Stefan Berger
> Assignee: Colm O hEigeartaigh
> Priority: Major
> 
> In WSS-656, the ability to set the signatureProvider was added, but when using the \
> WSS4JOutInterceptor, the RequestData object is created inside of \
> handleMessageInternal() and cannot be modified from the outside. \
> WSS4JInInterceptor.handleMessageInternal() behaves similarly. Users should be able \
> to influence the behavior via the SoapMessage. (Either in the SoapMessage or in the \
> Exchange) My use case is that I want to sign with brainpoolP256r1 Certificates in \
> Java 17. Oracle removed brainpool support in JDK 15, so now I have to use \
> BouncyCastle to sign requests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic