[jboss-user] [Security & JAAS/JBoss] - custom login module access httpservletrequest

ps742626 do-not-reply at jboss.com
Mon Aug 28 01:44:30 EDT 2006


I am developing a custom login module for jboss' jaas implementation.  I've got it working with no problems by simply extending the org.jboss.security.auth.spi.DatabaseServerLoginModule, and overriding the methods I need to.  I changed the login-config.xml and can tell that my module is being used.

Now, 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.  Does jboss' jaas  implementation have anything like this?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967735#3967735

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967735



More information about the jboss-user mailing list