[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method

2006-06-23 Thread atamur
"j2ee_junkie" wrote : I think this might by your problem... | | | | | | | | | | UserEJB | | Remote | | * | | | | | | | | cgriffithOh! A lot of tim

[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method

2006-06-23 Thread atamur
Ooops. It got truncated. Here is downloadable version: http://slil.ru/22867564 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953042#3953042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953042 Using Tomcat but need

[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method

2006-06-23 Thread atamur
Thanks for your replies! Something strange is going on. When I tried to remove all other beans and methods from ejb-jar.xml (to make it smaller to post it here) getInfo suddenly started working correctly. When I reverted file - stopped. I can post here all the ejb-jar.xml but it's ~2000 lines lo

[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method

2006-06-22 Thread atamur
It's not than I'm not going to authenticate user at web layer. Of course I will authenticate him. But I can forget something and leave a possibility for user/hacker to call my business method without authentication. That would be really bad. So now I'm trying to test this declarative permission

[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method

2006-06-22 Thread atamur
There is no tracing. Here is part of my log. Settings for log4j were : | | | | | | | | | (I took them from FAQ) So here is the listing: | [2006-06-22 08:34:59,250] Module debug: Module is deployed successfully. | 20:35:06,562 DEBUG [CoyoteAdapter] Request

[JBoss-user] [Security & JAAS/JBoss] - Couldn't apply method permissions to Session EJB method

2006-06-22 Thread atamur
I have an app with ejb jar and web module. My login-config xml is as follows: | | | | DS/Standard | | | SELECT usr_password FROM users WHERE usr_login = ? | | | SELECT