1 Reply Latest reply on Jul 16, 2009 2:57 PM by anil.saldhana

    JBoss XACML -- "[xX][mM][lL]" is not allowed exception

    xacmlman

      Hi I am using JBoss XACML. I wonder where I would find the XACML policies for JBoss XACML?

      I have tried validating XACML 2.0 police provided on OASIS using JBoss XACML package and I keep getting exception like this:

      [Fatal Error] :1:7: The processing instruction target matching "[xX][mM][lL]" is not allowed.
      Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.jboss.security.xacml.core.JBossPDP.(JBossPDP.java:102)
      at mypackage.Main.main(Main.java:39)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.jboss.security.xacml.factories.PolicyFactory.createPolicy(PolicyFactory.java:85)
      at org.jboss.security.xacml.core.JBossPDP.addPolicies(JBossPDP.java:281)
      at org.jboss.security.xacml.core.JBossPDP.bootstrap(JBossPDP.java:238)
      at org.jboss.security.xacml.core.JBossPDP.(JBossPDP.java:98)


      I have double checked that that policy is XACML 2.0 complicate by running through an open source validator. For my policy I am using Rule_1.xml. Please advice if it is a bug.