My instance of Xwiki is using custom authentication. I have a new requirement to add Yubikey based authentication now. I believe in order to pull it off, I need to set a session attribute in the Xwiki context with a value defined in a JSP file. I tried to set it in the current HTTP session, with the code below but it is not showing up in the Xwiki context session when the checkAuth method is called ... session.setAttribute("okc_sso_username", username); ... public XWikiUser checkAuth(XWikiContext context) throws XWikiException { .... String okc_sso_username = (String)context.getRequest().getSession().getAttribute("okc_sso_username"); .... } Any idea on how to bind the two to make a JSP session variable available in the XwikiContext? -- View this message in context: http://xwiki.475771.n2.nabble.com/Setting-a-session-variable-in-the-Xwiki-Co... Sent from the XWiki- Dev mailing list archive at Nabble.com.