You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Ian Boston <ie...@tfd.co.uk> on 2009/04/28 10:57:16 UTC

Question about the use of AccessControlProviders

Hi,

Does Sling use Access Control Providers in the configuration of the  
DefaultSecurityManager ?

AFAICT, if it does not, then

     if (acProvider != null) {
             editor = acProvider.getEditor(amContext.getSession());
             compiledPermissions =  
acProvider.compilePermissions(principals);
         } else {
             log.warn("No AccessControlProvider defined -> no access  
is granted.");
             editor = null;
             compiledPermissions = NO_PERMISSION;
         }

so it must ?

but I cant find where in the sling repository.xml the providers are  
defined, any idea ?

Thanks
Ian