I am developing a custom login module for jboss' jaas implementation. I would like to be able to access the HttpServletRequest object inside my login module. Does anyone know the best way to do this, if it's possible? I've been researching this, and so far I think I need to use a Callback of some kind, but I'm not sure.I found some WebSphere documentation that shows they have a WSServletRequestCallback that seems to be able to do this. Please suggest a simple example or documentation if jboss' jaas implementation have anything like this.
posted 3 years ago
I found a way to retrieve the HTTP request to the login module:
Deployed this module to the server. But not sure how can I demo this to my team. Any ideas on how can I show them that the request object is retrieved.