javax.ejb.EJBAccessException: [EJB:010160]Security violation: User <anonymous> has insufficient permission to access EJB type=<ejb>, application=Shopping-1, module=Shopping-1.war, ejb=HelloWorldResource, method=getMsg, methodInterface=Local, signature={java.lang.String,java.lang.String,javax.ws.rs.core.SecurityContext}.

Stack Overflow | Jimy Weiss | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Java restful-authentication combination RolesAllowed and Stateless (EJB) in WebLogic

    Stack Overflow | 6 months ago | Jimy Weiss
    javax.ejb.EJBAccessException: [EJB:010160]Security violation: User <anonymous> has insufficient permission to access EJB type=<ejb>, application=Shopping-1, module=Shopping-1.war, ejb=HelloWorldResource, method=getMsg, methodInterface=Local, signature={java.lang.String,java.lang.String,javax.ws.rs.core.SecurityContext}.

    Root Cause Analysis

    1. javax.ejb.EJBAccessException

      [EJB:010160]Security violation: User <anonymous> has insufficient permission to access EJB type=<ejb>, application=Shopping-1, module=Shopping-1.war, ejb=HelloWorldResource, method=getMsg, methodInterface=Local, signature={java.lang.String,java.lang.String,javax.ws.rs.core.SecurityContext}.

      at weblogic.ejb.container.internal.InvocationWrapper.checkMethodPermissionsBusiness()
    2. weblogic.ejb.container
      SessionLocalMethodInvoker.invoke
      1. weblogic.ejb.container.internal.InvocationWrapper.checkMethodPermissionsBusiness(InvocationWrapper.java:415)
      2. weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:110)
      3. weblogic.ejb.container.internal.BaseLocalObject.__WL_preInvoke(BaseLocalObject.java:69)
      4. weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:22)
      4 frames
    3. ch.shopping.resource
      HelloWorldResource_94mzfg_NoIntfViewImpl.getMsg
      1. ch.shopping.resource.HelloWorldResource_94mzfg_NoIntfViewImpl.getMsg(Unknown Source)
      1 frame