[jboss-user] [JBossWS] - Re: Username token Profile and JAAS Authentication

cboatwright do-not-reply at jboss.com
Tue Oct 3 23:00:01 EDT 2006

I may not totally be answering your question, but it may be related to something I ran into and that was assuming the generate WAR file (and I'm working with EJB3 endpoints) would contain the proper security constraints. I couldn't get the annotations to work for that, so I created the jboss-web.xml and web.xml and packaged my own WAR and it worked fine. 

Look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=91699 for my post that touches on this.

I have a JAAS module doing the login and creates a Principal which my EJB3 endpoint can access. Also loads the roles so my EJB3's "@RolesAllowed" annotation is honored.

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

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

More information about the jboss-user mailing list