I would like to pass in a variable from a JSP page, named mySession, to the
login page of Xwiki, such as:
So when the user has valid credentials they will be redirected here:
/xwiki/bin/login/XWiki/XWikiLogin/?mySession=" + session.getId();
There is some a custom authentication class written in Java that extends
XwikiAuthServiceImpl and inside of the checkAuth(XWikiContext context)
method I am trying to retrieve the value I passed in from the JSP page.
String mySession =
(String)context.getRequest().getSession().getAttribute("mySession");
The value of mySession is always null. Does anyone know where I went wrong
in trying to accomplish this?
--
View this message in context:
http://xwiki.475771.n2.nabble.com/passing-a-session-variable-to-the-XwikiLo…
Sent from the XWiki- Dev mailing list archive at
Nabble.com.