[jboss-user] [Security & JAAS/JBoss] - Re: In valve getRemoteUser value returned as NULL always

sohil.shah@jboss.com do-not-reply at jboss.com
Thu Jul 20 15:11:43 EDT 2006


twittemb-

If you have a JAAS LoginModule setup that is doing the authentication,

You can programatically extract the LoginContext from the environment and invoke the authenticate method on the Realm.

You can also consider using a CustomAuthenticator that extends one of the four BASIC,FORM,CERT,etc depending on your Authentication method

instead of a Valve

Thanks
Sohil

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

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



More information about the jboss-user mailing list