Accessing ejbs protected with declarative security
I posted this on the EJB forum, but got no response. I am reposting here for the sake of good semantics.
I have a SimpleRemoteStatelessSessionProxyFactoryBean to an EJB deployed in WL8. This EJB is protected using declarative security.
This is a legacy component, and cannot be changed whatsoever.
I also have a spring bean that must use the services provided by this EJB.
Whenever I try to access this EJB, I get an obvious RemoteAccessException.
What's the best way to get through declarative security in this case? Is Acegi needed? Is there a simpler approach?
Please help. My deadlines are getting closer, and so is the guillotine.
Configuring container security
Thank you for your reply
Originally Posted by Luke
That is what I have found on the net, but I do not know where to start. Could you give any links or info on how to do this? Or leastways how to start doing this?
Thanks a lot.