To enable SSO you are to implement net.jforum.sso.SSO.
authenticateUser(RequestContext request) recieves RequestContext object, which doesn't have access to HttpServletContext, so it is impossible to get data from another context. You are limited to use coockies or http params, which are unsecured.
My situation is: i have webapp (name it ROOT) with login page. When user logs in, I put everithing about him in session context. Now then user goes to forum, I want to get his cridentals from ROOT session context, so nothing is kept on client side expect of JSESSIONID cockie.
As you know, from
Servlets API 2.5 session context is individual per context, so I have no oppotunity to reach ROOT context. It would be nice to add
into net.jforum.sso.SSO interface, or to add
method into net.jforum.context.RequestContext intarface.
[originally posted on jforum.net by Deady]