Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Channel self-focusing

You can focus the channel via a request parameter: uP_root=me

...

Thanks to Ken Weiner for providing this information on the JASIG-PORTAL list.

Motivation

You might want to have links outside your portal link into your uPortal, through login, to a channel in focus mode.
This is how Yale University delivers its Network Registration channel.

Examples

Note

NOTE in order to successfully validate your service ticket, you should either use the CAS support bundled with uP 2.5.2, YaleCasFilteredContext or

...

modify the portal authentication framework to pass in the request URI to ensure that additional parameters are passed through to CAS as part of the service URL.

...

Jason Jason

Documentation

Implementation

This is was accomplished by via a modification to LoginServlet (uPortal > 2.4) 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.

...

and preserve them during the login process, reapplying them after the user has authenticated.