You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2011/04/28 15:20:03 UTC

[jira] [Updated] (WSS-280) USE_DERIVED_KEY instead of USE_DERIVED_KEY_FOR_MAC in WSHandler

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

Colm O hEigeartaigh updated WSS-280:
------------------------------------

    Fix Version/s: 1.6.1

> 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: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org