Hello,
I've read that this should return the HttpServletRequest from a LoginModule:
PolicyContext.getContext("javax.servlet.http.HttpServletRequest");
However, it returns null. The PolicyContext has a number of different handlers/keys, but null is returned for each.
Is there something I need to do to enable this feature so the PolicyContext is populated with a reference to the servlet request as opposed to null?
Thanks
John
It looks like the code works when called from the EJB layer, calling the login module?