I use JAAS for web-based Login. The first time I access the EJB session Bean and do a 
getCallerPrinciple() I do get the Caller correctly.
However when I go to a different screen and do the getCallerPrinciple()  I get 
exception 'IllegalState' for the unauthenticated subject.

Before making a call to getCallerPrinciple()  inside the SessionBean the 2nd time, I 
call Subject.DoAs(..) in the caller but still this does not help and also we were told 
by Scott Stark that DoAs(..) does not mean anything for JBoss.

There is no Form Based Authentication in the JAAS HowTo examples.

We are a Weblogic shop and are really keen on marketing JBoss to our customers but 
that requires us to port the application. We are 90% there but this problem is 
preventing us from proceeding further.

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

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


-------------------------------------------------------
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