ISSUE DESCRIPTION:
I'm calling a stateless EJB using RMI from a non-managed environment (java program).
The first issue I raised was:
java.security.AccessControlException: access denied (java.lang.RuntimePermission
org.jboss.security.SecurityAssociation.getPrincipalInfo)
I've researched this forum and found the solution to disable the SecurityInterceptors
(Home + Bean) in conf/standardjboss.xml.
The second issue raised was an exception at the client side:
java.security.AccessControlException: access denied (java.io.SerializablePermission
enableSubstitution)
This one has been removed by editing the java.policy file and adding:
grant {
permission java.io.SerializablePermission "enableSubstitution";
};
QUESTION:
Is there another way but disabling the SecurityInterceptors? (I've found some hints
regarding writing LoginModules, but no code sample for it)
thx alot
Johannes
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848997#3848997
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848997
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user