[jboss-user] [Security & JAAS/JBoss] - Re: JBoss 4.2.3: non-compliant behavior of JACC implementati

anil.saldhana@jboss.com do-not-reply at jboss.com
Tue Feb 3 16:54:13 EST 2009


http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/security/src/main/org/jboss/security/jacc/DelegatingPolicy.java

That is the JACC policy we use.  


  | public PermissionCollection getPermissions(ProtectionDomain domain)
  |    {
  |       PermissionCollection pc = super.getPermissions(domain);
  |       PermissionCollection delegated = delegate.getPermissions(domain);
  |       for (Enumeration e = delegated.elements(); e.hasMoreElements();)
  |       {
  |          Permission p = (Permission) e.nextElement();
  |          pc.add(p);
  |       }
  |       return pc;
  |    }
  | 

What JVM (vendor/version) are you using?

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

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



More information about the jboss-user mailing list