It depends upon what version of JRun you are using (JRun 3.0, SP1, or the
upcoming SP2).
For JRun 3.0 and SP1, the name of the requested page is kept in the session
attribute "allaire.jrun.security.requestedPage". For SP2 the name and any
query attributes are also kept in the session attribute
"allaire.jrun.security.requestedPage", but instead of being a String value
it is now an Object of type allaire.jrun.servlet.ResourcePageAttributes.
Note that the attribute name and value are subject to change at any time
and, since the Servlet spec does not address how or where this information
should be stored, this is a JRun-specific location.
Karl Moss
Allaire, Corp
-----Original Message-----
From: Christian Sellberg [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 22, 2001 11:00 AM
To: JRun-Talk
Subject: accessing the requested security-constrained url
When a user wants to access a security-constrained resource, where does jrun
then save the requested url? I mean, in form based login, jrun has to
remember the url the user requested so when the authentication process is
done then the container can forward the request the requested resource. Is
it possible to access (read) the url to the requested resource in a servlet?
We need the requested url, because we want to add a controller servlet
between form login and j_security_check. When we have done our extra
validation we want to be able to forward the user to the requested url.
Sincerely yours
Christian Sellberg
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists