Title: Message Title
|
|
for JSPUI: change in org.dspace.app.webui.servlet.ShibbolethServlet.java if (status == AuthenticationMethod.SUCCESS){ // Logged in OK. Authenticate.loggedIn(context, request, context.getCurrentUser()); log.info(LogManager.getHeader(context, "login", "type=shibboleth")); request.getSession().setAttribute("shib.authenticated", true); // resume previous request Authenticate.resumeInterruptedRequest(request, response); return; change in org.dspace.app.webui.servlet.LogoutServlet.java Boolean shibauthenticated = false; if(session!=null){ shibauthenticated = (Boolean)session.getAttribute("shib.authenticated"); } if (shibauthenticated==null) { shibauthenticated = false; } if(shibauthenticated){ StringBuilder location = new StringBuilder(); location.append(ConfigurationManager.getProperty("authentication-shibboleth","logout_url")); Authenticate.loggedOut(context, request); response.sendRedirect(location.toString()); } else { Authenticate.loggedOut(context, request); // if the user still logged in (i.e. it was a login as)? if (context.getCurrentUser() != null) { // redirect to the admin home page response.sendRedirect(request.getContextPath()+"/dspace-admin/"); return; } // Display logged out message JSPManager.showJSP(request, response, "/login/logged-out.jsp"); } }
|
|
|
|
|
I am running DSpace 3.1 with Shibboleth authentication. If I click "logout", DSpace will end my user session, but my Shibboleth session remains active which could be misleading to users. org.dspace.app.xmlui.aspect.eperson.UnAuthenticateAction is currently hard-coded to return to the home page after logout. It would be useful to provide a configurati...
|
|
|
|
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel