Re: Start page
Christopher Schultz <chris-Nf+wZpSdgwfUvtVhod0YCwZWvwf/[email protected]> Sun, 15 Feb 2009 10:06:58 -0500
| Newsgroups | gmane.comp.java.securityfilter.user |
|---|---|
| Message-ID | <[email protected]> |
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============8241724026901884797== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD30649DA4BFA97AED4936F88" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD30649DA4BFA97AED4936F88 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Torgeir, On 2/13/2009 7:41 PM, Torgeir Veimo wrote: > On 14 Feb 2009, at 07:52, Martin Dubuc wrote: >=20 >> I would like to confirm first of all that I can force securityfilter = >> to load a specific page after a login that was requested because of =20 >> a session timing out. If it is the case, I am wondering if there are = >> any signs I could monitor to help figure out why I am presented with = >> a blank page. >=20 > Securityfilter redirects to the page which the user tried to load =20 > before the login page. It only goes to the stat page if no previous =20 > page was requested, eg the user went directly to the login page. If =20 > you need different behaviour, you probably have to patch securityfilter= =2E The CVS version of securityfilter allows you to override the page you go to after login, regardless of any previously-saved request. Along with your credentials, you can provide the following parameters to j_security_check: param name value forward The URL to forward to. forward-mode "forward" or "redirect" (default=3Dredirect) forward-parameters "true" or "false" (default=3Dfalse) That last parameter can be used to have securityfilter include all the parameters sent to the login form along to the 'forward' URL. The credentials as well as the 'forward' configuration parameters are all removed from any query string used for redirection. If you read the code for FormAuthenticator.java, you'll see all these parameters documented at the top of the class. -chris --------------enigD30649DA4BFA97AED4936F88 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkmYL5IACgkQ9CaO5/Lv0PDO2ACfX2ooPYVoNDKMxD05C220MHbl /DEAnRMmY0YgDELV6uEDEWMk4otdbn+A =AnDR -----END PGP SIGNATURE----- --------------enigD30649DA4BFA97AED4936F88-- --===============8241724026901884797== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H --===============8241724026901884797== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ securityfilter-user mailing list securityfilter-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/securityfilter-user --===============8241724026901884797==--