[jboss-user] [Security & JAAS/JBoss] - Re: receiving both my custom callback handler AND SecurityAs

2007-03-29 Thread sionut2
When I declare my.first.login.module as "sufficient" I am able to access the EJBs, although they are declared with @SecurityDomain("policy1") and I log on using the following code: | LoginContext lc = new LoginContext("policy2", cbHandler); | lc.login(); | When I'

[jboss-user] [Security & JAAS/JBoss] - Re: receiving both my custom callback handler AND SecurityAs

2007-03-29 Thread sionut2
Probably I need to give you some more details.. I need this second login module to authenticate my ws calls. The login from the web site works very well, but if I add my login module to the existing configuration the login modules are called twice, as I told you in my previous message. I just r