...
Implementation
This is was accomplished by via a modification to LoginServlet to collect the parameters:
Code Block |
---|
public void doGet (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
if (log.isTraceEnabled()){
log.trace("entering doGet(" + request + "...)");
}
/* Grab the target functional name, if any, off the login request.
* Really we should lookup the key in a properties file.
* If this parameter is set, we will pass it along after authentication.
*/
String targetFname = request.getParameter("uP_fname");
String targetArgs = request.getParameter("uP_args");
|
And then some code to put these parameters on the redirect to the uPortal session management servlet.
...
(uPortal > 2.4) to collect the parameters and preserve them during the login process, reapplying them after the user has authenticated.