Return-Path: X-Original-To: apmail-ws-dev-archive@www.apache.org Delivered-To: apmail-ws-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0700017897 for ; Fri, 10 Apr 2015 09:35:26 +0000 (UTC) Received: (qmail 69874 invoked by uid 500); 10 Apr 2015 09:35:13 -0000 Delivered-To: apmail-ws-dev-archive@ws.apache.org Received: (qmail 69672 invoked by uid 500); 10 Apr 2015 09:35:12 -0000 Mailing-List: contact dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ws.apache.org Delivered-To: mailing list dev@ws.apache.org Received: (qmail 69172 invoked by uid 99); 10 Apr 2015 09:35:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2015 09:35:12 +0000 Date: Fri, 10 Apr 2015 09:35:12 +0000 (UTC) From: "Colm O hEigeartaigh (JIRA)" To: dev@ws.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (WSS-528) warning("Security processing failed (actions mismatch)") MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WSS-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Colm O hEigeartaigh closed WSS-528. ----------------------------------- > warning("Security processing failed (actions mismatch)") > -------------------------------------------------------- > > Key: WSS-528 > URL: https://issues.apache.org/jira/browse/WSS-528 > Project: WSS4J > Issue Type: Bug > Components: WSS4J Core > Affects Versions: 2.0.0, 2.0.3 > Environment: Windows7 > Reporter: Sudarshan Menon > Assignee: Colm O hEigeartaigh > > I upgraded WSS4J 1.6.1 to WSS4J 2.0.X. The main motive is to encrypt passwords in crypto properties file. > I see error in my web service response."A security error was encountered when verifying the message". > So by debugging the error happens at below line of code in StaxActionInInterceptor.java > if (requiredEvent != null > && !isEventInResults(requiredEvent, incomingSecurityEventList)) { > LOG.warning("Security processing failed (actions mismatch)"); > WSSecurityException ex = > new WSSecurityException(WSSecurityException.ErrorCode.SECURITY_ERROR); > throw WSS4JUtils.createSoapFault(soapMessage, soapMessage.getVersion(), ex); > } > I also see that incomingSecurityEventList is coming empty in my case. > Below is the SOAP Header. > > > > > > > > > Some Issuer Name > Some Serial Number > > > > > > UtcgDv+Fbo3lPnuuHMYl7jD90WOdMcfnIEAic3BnVJM/dhqbmt/LsNoS3dRMQPJZwoseuXXPX/vJgPK+oMDhDGKjPXAynwU9XFoYWAVPeHj0rq5x9zwDd3rrmm4E4cD12AIeXTg/42J6HDx+NhCtSYcDeUUJqscb0EQDJXoZ99P3uo7UhTUyIFgiy6wYyBVtmfmXPIYjxqOg+cSEN1erVFiPlSl6uZlw7ZQOuXj38QVWGJIYKjWDOsN5zIU3qXFxaQUgViTmxOoIMjLp1HQAP9Ttcl0WTIjdbomM9dNvuPNNa/9Y/44sbEqGzwYy0XrmbCMgWBtia0mgJzxU4Lfj7A== > > > > > > > SPD_DEV_USER > > > > > > > > > o3h3NrJHxVVMl6qNjZ4thRaaNMkXMmSkfgXidp9lgkQO62EsmTEuve6J1jYGCWsRGwC9ro7YTP9Ms21veox8JD9yeDQJjQIHeatDVb9NKp1AKZZDn5Kt3KAfEZfwp1EScJaTh3KrpD/AihBj8IYPyvCtRViuAsWGxbj9aSxTsW+ht35rlSK0fU0P7gRg17IsoeURhbafNOouX18wOzyZruizo55GUYvXBWmqqa5/5k2oV8elaqQRnhSz2EkQ7D5dmGUOGEG1OoMbfbZADha3mbRYTnDzP3cKf4sn4Fvx2JF+OEXhp3ZbUfqXtx2WWxlAreguqmVu04wMlQhYkUTKSJ3qRG7LMhlHHQTM8VhLHRafmKua8WALbCJfjG5mcXNF28HA6eeNJjWlA2wsozmFLS3yncEX7fKDeURHX5eHjL8yE+QtmMvH32EbN7nwsIvVz1qCvm1jsuqo81crpxOAm2N4uDGldJCjH7POaMQG90jK1y8f1LFyH+SPh6zwcQhDbZ2LP8Pt6/UGiiikm1Uiq5ZDwfChUz9+ULd2iwbNo/7jHWNhEllhF2n1McTDNPrHl7UTIQBSubY/F2qjjk3Vww== > > > > > 2013-10-30T09:32:24.283Z > 2015-12-30T09:37:24.283Z > > > > Below is the WSS4JStaxInInterceptor configuration > > > > > key="#{T(org.apache.wss4j.dom.handler.WSHandlerConstants).ACTION}" > value="SAMLTokenSigned" /> > > > > > > > > > > > > > > > > > > > Note : All these were working before with WSS4JInInterceptor in WSS4J 1.6.1 -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org For additional commands, e-mail: dev-help@ws.apache.org