[jboss-user] [Security & JAAS/JBoss] - Re: Unable to get the authentication details in CustomLoginM

ragavgomatam do-not-reply at jboss.com
Thu Aug 7 21:10:45 EDT 2008


anonymous wrote : I tried by extending my customloginmodule class from AbstractServerLoginModule and tried to get the username from sharedstate  object, But i am getting SharedState object as null.


Shouldn't you be getting username/password from CallbackHandler in your Login Module ? SharedState Map is to pass information/state information  when jaas modules are stacked & overall login depends on outcome of individual login's. 

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

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



More information about the jboss-user mailing list