Accessing ejbs protected with declarative security
Hi all,
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.
J.
Configuring container security
Quote:
Originally Posted by Luke
Hi,
Can't you just use WL8's container security? Presumable other users of the EJB must be doing this? I don't think the Spring proxy bean should make any difference. Do you have container security configured?
Luke.
Thank you for your reply
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.
J.