[jboss-user] [Security & JAAS/JBoss] - Re: Basic app client to app server authentication in J2EE

Wolfgang Knauf do-not-reply at jboss.com
Mon Mar 30 10:20:05 EDT 2009


Hi,

as far as I know, "LoginInitialContextFactory" is no longer working in JBoss 5.

Take a look at this thread (post 2) to see how to perform a JAAS login:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=144865

Another tip: you use an @EJB annotation in your code, and later perform a JNDI lookup. Here http://www.jboss.org/community/docs/DOC-12835 is a tutorial on how to use injection in appliaction clients.

Best regards

Wolfgang

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

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



More information about the jboss-user mailing list