incubator-shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ledbrook" <>
Subject Redirect URLs
Date Wed, 22 Oct 2008 19:44:22 GMT
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?



View raw message