Thanks. I actually had just tried that right before receiving your email and made some progress. So I now get: 17:11:29,440 ERROR [SecurityInterceptor] Authentication exception, principal=null as I would expect.
The problem that I have now is that it happens for EVERY method call to the bean instead of just the one that I have permissions set up for. Any clues? gary. David Jencks wrote: >I think you have to use the single login-conf.xml file in >server/[conf-name]/conf > >david jencks > >On 2002.07.30 16:16:19 -0400 Gary S. Cuozzo wrote: > >>Hello all, >>I'm at the point of configuring security parameters for my app and have >>a few questions. >> >>I ultimately want to use the DatabaseServerLoginModule and authenticate >>via a web-app, but have been trying some of the simpler modules just to >>get started. So far I have not been successful. >> >>So far, I've created a login-config.xml file and put it in my ear file. >> I've also added the security domain to my jboss.xml. As a test, I >>created an empty method on a session bean and set some permissions in >>the ejb-jar.xml file to test with. So far, I've just tried to connect a >>stand-alone client to the remote interface of the session bean. ALL of >>my calls fail, even to methods that don't have permissions configured. >> >>Oddly enough, all of my exceptions reference the UserRolesLoginModule >>(which I'm not specifying to be loaded) and complain about not having >>user/password files set up. Where would this come from? I'm sure I'm >>just missing/overlooking something stupid. I'd be happy to forward any >>support files if needed. >> >>I'm using 3.0.0 with embedded tomcat 4.0.3. >> >>Thanks in advance for any help... >>gary. >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by: Dice - The leading online job board >>for high-tech professionals. Search and apply for tech jobs today! >>http://seeker.dice.com/seeker.epl?rel_code=31 >>_______________________________________________ >>JBoss-user mailing list >>[EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> > > >------------------------------------------------------- >This sf.net email is sponsored by: Dice - The leading online job board >for high-tech professionals. Search and apply for tech jobs today! >http://seeker.dice.com/seeker.epl?rel_code=31 >_______________________________________________ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user > ------------------------------------------------------- This sf.net email is sponsored by: Dice - The leading online job board for high-tech professionals. Search and apply for tech jobs today! http://seeker.dice.com/seeker.epl?rel_code=31 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user