Hi Dragan,

actually, you use JAAS on the client side (which is a Java standard), there is 
not much JBoss specific stuff about this.

To login, you need an implementation of 
"javax.security.auth.callback.CallbackHandler" (which provides user/password), 
and perform the authentication using this CallbackHandler:

javax.security.auth.login.LoginContext loginContext = new LoginContext ("...", 
callbackHandler);
  | loginContext.login();

The JBoss "SecurityClient" is just an implementation of the CallbackHandler 
interface.

Hope this helps a bit

Wolfgang

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205280
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to