Thanks for your reply! Yes, the login.jsp is from my web application. I wouldn't like to authenticate through web application because i have to specify the LoginModule at the deployment descriptor. This is a problem to my application because it can authenticate users with diferent databases. Depending upon the database (datasource) id (i will pass this id as a servlet parameter), the servlet should get the id and identify the loginModule to use. For example: if the database id is 001, the servlet authenticate users with DS1 (application-policy=framework), and if the id is 002, the servlet uses DS2 (application-policy=framework2) but it decides what application policy to use at runtime. Using the login inside the servlet, i can set the name to LoginModule.....but, i have the problem you stated: my login is only for web container.... Isn' t there a way to authenticate ejb independently from the web application?? Anyway, I will see the JBossSecurityMngRealm.java.
Thanks again! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841927#3841927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841927 ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
