Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-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 1E8439A94 for ; Tue, 14 Feb 2012 08:12:37 +0000 (UTC) Received: (qmail 84330 invoked by uid 500); 14 Feb 2012 08:12:34 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 83699 invoked by uid 500); 14 Feb 2012 08:12:28 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 83604 invoked by uid 99); 14 Feb 2012 08:12:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 08:12:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Feb 2012 08:12:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A06591B6BAB for ; Tue, 14 Feb 2012 08:11:59 +0000 (UTC) Date: Tue, 14 Feb 2012 08:11:59 +0000 (UTC) From: "Amila Jayasekara (Updated) (JIRA)" To: java-dev@axis.apache.org Message-ID: <1117828231.35706.1329207119658.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1575179316.1268.1328514839513.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (RAMPART-357) Timestamp verification handled at two locations in different ways 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/RAMPART-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Jayasekara updated RAMPART-357: ------------------------------------- Attachment: rampart_357_trunk.patch Hi Hasini, I slightly modified your patch so that it suits to current Rampart Trunk (after wss4j migration). Please review this. Thanks AmilaJ > Timestamp verification handled at two locations in different ways > ----------------------------------------------------------------- > > Key: RAMPART-357 > URL: https://issues.apache.org/jira/browse/RAMPART-357 > Project: Rampart > Issue Type: Bug > Reporter: Hasini Gunasinghe > Attachments: rampart_357.patch, rampart_357_trunk.patch > > > Currently, when verifying timestamp, 'Expired' is verified in WSS4J level if timestampStrict enabled. > 'Created' is verified in PolicyBasedResultsValidator. > timestampMaxSkew is taken into consideration only when verifying 'Created' in timestamp inside PolicyBasedResultsValidator. > IMO, both 'Expired' and 'Created' should be verified in PolicyBasedResultsValidator in a consistent way, taking timestampMaxSkew into consideration in both the occasions. > Hence the proposed solution is like below: > -Disable timestampStrict in WSConfig by default through Rampart. > -Verify both 'Expired' and 'Created' in PolicyBasedResultsValidator. > -Allow to enable verification at WSS4J level through rampart config, if someone needs it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org