Return-Path: Delivered-To: apmail-incubator-jsecurity-dev-archive@locus.apache.org Received: (qmail 40603 invoked from network); 22 Oct 2008 19:45:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Oct 2008 19:45:00 -0000 Received: (qmail 56713 invoked by uid 500); 22 Oct 2008 19:45:03 -0000 Delivered-To: apmail-incubator-jsecurity-dev-archive@incubator.apache.org Received: (qmail 56704 invoked by uid 500); 22 Oct 2008 19:45:03 -0000 Mailing-List: contact jsecurity-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jsecurity-dev@incubator.apache.org Delivered-To: mailing list jsecurity-dev@incubator.apache.org Received: (qmail 56693 invoked by uid 99); 22 Oct 2008 19:45:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 12:45:03 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of p.ledbrook@gmail.com designates 74.125.92.147 as permitted sender) Received: from [74.125.92.147] (HELO qw-out-1920.google.com) (74.125.92.147) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2008 19:43:54 +0000 Received: by qw-out-1920.google.com with SMTP id 4so1403807qwk.54 for ; Wed, 22 Oct 2008 12:44:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=zBQfp+r8zdvyAiyF1O8pmhVhAdbA+w8OnRQDVmrjByQ=; b=KgwXQD18GEmkXyJ7Qq0HLvIIuLoRvvGp5ZZOEOnWuk0DC4bDK5dfpVo+4B5zxkUG2G LElk5vFtJs2waBOx4UiEQD1Lajh1ux4nSKPXU7gaTyXYIaym319A6E7ZCP3Kj03GdUrs MiF5I/yLYDmG8V4+vQ36B8Rw0hNG7AVjDuweg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=qHTJNCiIgbezXxO89dzBAajK/oC4fXa0djpOD+iClYr/VhyZ+81pyqqPMgSBIiO1V3 VW27PPBBEnny26JX2mOPhL6I8z1K3owOS5U64OKHt7qZ9/ATNaHn9LkdHGLxuf+6OYIR TW4EVW+4WFMprsGeLITYefwjEx9gCgZCz3UMw= Received: by 10.214.10.4 with SMTP id 4mr16380768qaj.48.1224704662943; Wed, 22 Oct 2008 12:44:22 -0700 (PDT) Received: by 10.214.81.6 with HTTP; Wed, 22 Oct 2008 12:44:22 -0700 (PDT) Message-ID: Date: Wed, 22 Oct 2008 20:44:22 +0100 From: "Peter Ledbrook" Sender: p.ledbrook@gmail.com To: jsecurity-dev@incubator.apache.org Subject: Redirect URLs MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 39c864dd03814ae3 X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, One of the Grails users is currently using a standard JSecurity filter with the plugin. I have seen so far that one can configure a login URL for said filter using a configuration like: myFilter.loginUrl = /login However, the standard login page provided by the plugin expects a "targetUri" parameter containing the URL of the page the user originally tried to access. The "login" page POSTs to a "/signIn" URL, which then redirects back to "targetUri" if the sign-in is successful. Is it possible to specify this in the config? Does the filter set a different implicit variable containing the URL to redirect to? Thanks, Peter