org.apache.shiro.authz.UnauthorizedException: Subject does not have permission [Game:Edit:g303945]

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • org.apache.shiro.authz.UnauthorizedException: Subject does not have permission [Game:Edit:g303945] at org.apache.shiro.authz.ModularRealmAuthorizer.checkPermission(ModularRealmAuthorizer.java:323)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.mgt.AuthorizingSecurityManager.checkPermission(AuthorizingSecurityManager.java:137)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.DelegatingSubject.checkPermission(DelegatingSubject.java:205)[shiro-core-1.2.1.jar:1.2.1] at com.wegas.core.security.rest.UserController.checkGmOrGPermission(UserController.java:524)[wegas-core-1.0-SNAPSHOT.jar:na] at com.wegas.core.security.rest.UserController.findAccountPermissionByInstance(UserController.java:481)[wegas-core-1.0-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25] at org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1052)[na:na] at org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:1124)[na:na] at com.sun.ejb.containers.BaseContainer.invokeBeanMethod(BaseContainer.java:5388)[ejb-container.jar:3.1.2.1-SNAPSHOT] at com.sun.ejb.EjbInvocation.invokeBeanMethod(EjbInvocation.java:619)[ejb-container.jar:3.1.2.1-SNAPSHOT] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)[ejb-container.jar:3.1.2.1-SNAPSHOT] at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:42)[weld-osgi-bundle.jar:20120429-1045] at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)[na:na] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.EjbInvocation.proceed(EjbInvocation.java:571)[ejb-container.jar:3.1.2.1-SNAPSHOT] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.doAround(SystemInterceptorProxy.java:162)[na:na] at com.sun.ejb.containers.interceptors.SystemInterceptorProxy.aroundInvoke(SystemInterceptorProxy.java:144)[na:na] at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25] at com.sun.ejb.containers.interceptors.AroundInvokeInterceptor.intercept(InterceptorManager.java:861)[na:na] at com.sun.ejb.containers.interceptors.AroundInvokeChainImpl.invokeNext(InterceptorManager.java:800)[na:na] at com.sun.ejb.containers.interceptors.InterceptorManager.intercept(InterceptorManager.java:370)[na:na] at com.sun.ejb.containers.BaseContainer.__intercept(BaseContainer.java:5360)[ejb-container.jar:3.1.2.1-SNAPSHOT] at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:5348)[ejb-container.jar:3.1.2.1-SNAPSHOT] at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:214)[ejb-container.jar:3.1.2.1-SNAPSHOT] at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:89)[ejb-container.jar:3.1.2.1-SNAPSHOT] at com.sun.proxy.$Proxy221.findAccountPermissionByInstance(Unknown Source)[na:na] at com.wegas.core.security.rest.__EJB31_Generated__UserController__Intf____Bean__.findAccountPermissionByInstance(Unknown Source)[wegas-core-1.0-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.7.0_25] at java.lang.reflect.Method.invoke(Method.java:606)[na:1.7.0_25] at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)[jersey-gf-server.jar:1.11.1] at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)[jersey-gf-servlet.jar:1.11.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)[jersey-gf-servlet.jar:1.11.1] at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)[jersey-gf-servlet.jar:1.11.1] at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)[javax.servlet-api.jar:3.0.1] at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)[shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)[shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)[shiro-core-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)[shiro-web-1.2.1.jar:1.2.1] at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)[shiro-web-1.2.1.jar:1.2.1] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)[web-core.jar:3.1.2.1-SNAPSHOT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)[web-core.jar:3.1.2.1-SNAPSHOT] at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)[kernel.jar:3.1.2.1-SNAPSHOT] at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)[kernel.jar:3.1.2.1-SNAPSHOT] at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)[grizzly-http.jar:1.9.50] at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)[grizzly-http.jar:1.9.50] at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)[grizzly-http.jar:1.9.50] at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)[grizzly-http.jar:1.9.50] at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)[grizzly-framework.jar:1.9.50] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)[grizzly-framework.jar:1.9.50] at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)[grizzly-framework.jar:1.9.50] at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)[grizzly-http.jar:1.9.50] at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)[grizzly-framework.jar:1.9.50] at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)[grizzly-framework.jar:1.9.50] at com.sun.grizzly.ContextTask.run(ContextTask.java:71)[grizzly-framework.jar:1.9.50] at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)[grizzly-utils.jar:1.9.50] at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)[grizzly-utils.jar:1.9.50] at java.lang.Thread.run(Thread.java:724)[na:1.7.0_25]
No Bugmate found.