[jboss-user] [Security & JAAS/JBoss] - Stupid permission problem

SlingBlade do-not-reply at jboss.com
Mon Dec 15 09:38:14 EST 2008


Got the following message from the server.log when I try to reach a EJB2.x from a sevlet:


 SecurityException in method: public abstract com.xxx.XXXHome.create() throws java.rmi.RemoteException,javax.ejb.CreateException:
java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=XXXBean, method=create, interface=HOME, requiredRoles=[USER, SYSTEM], pri
ncipalRoles=[]
        at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:258)
        at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:120)
        at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
        at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613)
        at org.jboss.ejb.Container.invoke(Container.java:894)
        at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)


Help is very appreciated, merry Christmas! 


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

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



More information about the jboss-user mailing list