You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Pursian <dg...@gmx.net> on 2008/04/30 16:27:30 UTC
T5: Problem with tap-acegi accessDenied redirect
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi List,
i'm using the tapestry-acegi component in version 1.0.4-SNAPSHOT in my
project (T5.0.11) to manage access control. While securing of listener
methods is working since this Snapshot release, i receive a 404 Error
| The requested resource (/ccm/general/loginpage) is not available.
instead of the suspected login page. I configured the appropiate
acegi.accessDenied.url symbol in my appModule as follows:
public static void
contributeApplicationDefaults(MappedConfiguration<String, String>
configuration) {
configuration.add("acegi.failure.url","/general/loginpage/failed");
~ configuration.add("acegi.loginform.url", "/general/loginpage");
configuration.add("acegi.accessDenied.url","/general/loginpage");
~ .....
The mentioned page resource (/ccm/general/loginpage) exists and for all
other redirecting events things are working properly. I'm using Tomcat 6.
many thanks in advance ...
Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIGIHSM14O/Esx/74RAmkkAJ4rjfQBLvOC7jSDa/GoIRCU+F/94gCg0+F7
tlHh7zPu/pN0jORvYUVxB2A=
=qqmE
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org