2 Replies Latest reply on May 18, 2015 7:58 AM by sviluppatorefico

    ACL management

    sviluppatorefico

      is ACL supported in AS 7.x and EAP 6.x?

       

      I'ld like use the acl configuration in the standalone.xml. I see I can write something as:

       

                           <acl>

                              <acl-module code="org.jboss.security.acl.ACLProviderImpl" flag="required">

                                  <module-option name="persistenceStrategy" value="org.jboss.security.plugins.acl.PolicyRegistrationStrategy"/>

                              </acl-module>

                          </acl>

       

      but it seems not work.

        • 1. Re: ACL management
          ctomc

          ACL for what?

          • 2. Re: ACL management
            sviluppatorefico

            With ACL I can manage the permissions on the resources. Inside Jboss/Wildfly there is a org.jboss.security.acl.ACLProvider configurable as seen over. Here a sample of a method you can use in ACL:

             

            public boolean isAccessGranted(Resource resource, Identity identity, ACLPermission permission) {

            ...

            }

             

            But there is no documentation to use it. Can I inject this provider in my ejb? If no how it must be used?