[jboss-dev-forums] [Design of Security on JBoss] - Broken object names in jacc

adrian@jboss.org do-not-reply at jboss.com
Mon Mar 17 12:21:06 EDT 2008


I've done a basic fix to this, but I'm still seeing other problems.

The first I saw was object names without values, e.g.
jboss.jacc:id=,service=jacc
which is not a valid JMX object name.

Since you can't guarantee the a deployment unit doesn't contain
an invalid character for a JMX object name, I quoted the properties
in AbstractSecurityDeployer

But now I'm seeing this error when trying to run web integration tests

  | 16:55:15,867 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/home/ejort/jboss-head/testsuite/output/lib/class-loading.war state=PreReal mode=Manual requiredState=Real
  | org.jboss.deployment.DeploymentException: Error during install jboss.jacc:service=jacc,id=""
  |         at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
  |         at org.jboss.system.ServiceController.install(ServiceController.java:277)
  |         at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
  |         at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  |         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:174)
  | 

So there's obviously something wrong with the way you are generating
object names.

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

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



More information about the jboss-dev-forums mailing list