[jboss-user] [Security & JAAS/JBoss] - Re: combination of JAAS

margielm do-not-reply at jboss.com
Tue Mar 11 08:45:16 EDT 2008


Hello,
  have exactly the same problem. 
  am trying to login in in servlet by calling 


  | LoginContext lc=...;
  |  c.login(); 
  | 
 after that when I call 

  | lc.getSubject()
  | 

I see my principal but both, request.getUserPrincipat() and request.getRemoteUser(), returns null.

pls help.

best regards 
Michal Margiel 

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

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



More information about the jboss-user mailing list