I'm hoping this is a really easy one to answer.

I have a JBOSS J2EE application client that is using JAAS to log in and access EJB 
resources.

I have a very simple setup for the client - it uses the ClientLoginModule only and a 
standard UsernamePasswordCallbackHandler. Authentication to the server is clearly 
working because my credentials are getting mapped to the correct roles inside the 
server EJBs.

However in the client app the Subject returned from the LoginContext.login() calls has 
no Principals i.e.

   subject.getPrincipals().size()

returns 0.

Is there something obvious I've missed in order to allow the client to get at the list 
of principals?

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

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to