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

List:       xmlrpc-dev
Subject:    [jira] [Created] (WSS-280) USE_DERIVED_KEY instead of
From:       "Alessio Soldano (JIRA)" <jira () apache ! org>
Date:       2011-04-26 21:46:03
Message-ID: 1127105614.4051.1303854363209.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

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


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


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

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