[ 
https://issues.apache.org/jira/browse/WSS-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colm O hEigeartaigh resolved WSS-280.
-------------------------------------

    Resolution: Fixed

> USE_DERIVED_KEY instead of USE_DERIVED_KEY_FOR_MAC in WSHandler
> ---------------------------------------------------------------
>
>                 Key: WSS-280
>                 URL: https://issues.apache.org/jira/browse/WSS-280
>             Project: WSS4J
>          Issue Type: Bug
>          Components: WSS4J Core
>    Affects Versions: 1.6
>            Reporter: Alessio Soldano
>            Assignee: Colm O hEigeartaigh
>             Fix For: 1.6.1
>
>
> AFAICS, the WSHandler::decodeUTParameter does not properly read the 
> WSHandlerConstants.USE_DERIVED_KEY_FOR_MAC parameter:
>         String derived = getString(WSHandlerConstants.USE_DERIVED_KEY, mc);
>         if (derived != null) {
>             boolean useDerivedKey = Boolean.parseBoolean(derived);
>             reqData.setUseDerivedKey(useDerivedKey);
>         }
>         
>         String derivedMAC = getString(WSHandlerConstants.USE_DERIVED_KEY, mc);
>         boolean useDerivedKeyForMAC = Boolean.parseBoolean(derivedMAC);
>         if (useDerivedKeyForMAC) {
>             reqData.setUseDerivedKeyForMAC(useDerivedKeyForMAC);
>         }
> WSHandlerConstants.USE_DERIVED_KEY is used for both parameter reads.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to