[jboss-user] [JBoss/Spring Integration] - Re: JBOSS 4.2 + Spring Security on EJB3

noFreak do-not-reply at jboss.com
Wed Apr 9 08:13:32 EDT 2008


HI,
in my case i have the same requirements, i have an ejb3 container (Jboss 4.2) an a classic EJB3 implemetation. I want to secure the methods of my EJB's by Spring Security. Furthermore i have a rich client application which acces the ejb components with JNDI lookups. So I can't use filter based HTTP protocol autorization/authentication.
A solution for using Spring Security without web stuff u can find here:
http://affy.blogspot.com/2005/10/acegi-tutorial-example-of-method-based.html

But that's not everything. I have the problem that i don't know how i can secure the methods within the context of a JNDI lookup. Actualy the Spring IoC Container have to handle the MethodSecurityInterceptor aspects. But I dont' know how i could configure it in the way to stick it together...do anybody have similar requirements? 

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

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



More information about the jboss-user mailing list