[jboss-dev-forums] [Design of Security on JBoss] - JACC issue: why is not Policy::implies called on my Policy p

kcg do-not-reply at jboss.com
Tue Aug 26 16:21:17 EDT 2008


Hello,
I'm porting home-grown JACC provider from GlassFish to JBoss 5.0 CR1. I've copied all the needed jars into server/all/lib subdirectory. Followed http://wiki.jboss.org/wiki/JACC to enable it. When I start jboss with:

  | ./bin/run.sh -Djavax.security.jacc.policy.provider=<my policy provider class> -Djavax.scurity.jacc.PolicyConfigurationFactory.provider=<my policy configuration factory provider class> -c all
  | 
it seems my policy provider gets called, but only by a lot of getPermissions calls. There is none implies call done, although I'm accessing protected resource of JMX JBoss console. My experience with GlassFish is a little bit different, my policy provider implies is called for every access control decision and that's also why I put main access control decision into the implies method. IMHO it should be there also following JACC spec. My question is: have I forgotten to do anything to properly configure my JACC for JBoss? Or is there any bug in 5.0 CR1 which prevents my JACC policy provider implies method to be called?
Thanks,
Karel

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

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



More information about the jboss-dev-forums mailing list