[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Security Exception: Denied: EJBMethodPermission

NigelWhite do-not-reply at jboss.com
Thu Jun 21 07:15:17 EDT 2007


This just started happening after I upgraded to JBoss 4.2.0

It's completely broken my app.


  | 10:11:41,204 ERROR [executehql_jsp]] Servlet.service() for servlet org.apache.jsp.manager.executehql_jsp threw exception
  | java.lang.SecurityException: Denied: (javax.security.jacc.EJBMethodPermission com.aspicio.entity.base.Person read)[*:read()], caller
  | =Subject:
  |         Principal: Ultimate Logistics/ultimate/nigelw
  |         Principal: CallerPrincipal(members:Ultimate Logistics/ultimate/nigelw)
  |         Principal: Roles(members:User)
  | 
  |         at org.hibernate.secure.JACCPermissions.checkPermission(JACCPermissions.java:49)
  |         at org.hibernate.secure.JACCPreLoadEventListener.onPreLoad(JACCPreLoadEventListener.java:30)
  |         at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:125)
  |         at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
  |         at org.hibernate.loader.Loader.doQuery(Loader.java:729)
  |         at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  |         at org.hibernate.loader.Loader.doList(Loader.java:2220)
  |         at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
  |         at org.hibernate.loader.Loader.list(Loader.java:2099)
  |         at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
  |         at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  |         at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  |         at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  |         at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  |         at org.apache.jsp.manager.executehql_jsp._jspService(executehql_jsp.java:69) 
  | 

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

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



More information about the jboss-user mailing list