Class AccessControllerProvider


  • public class AccessControllerProvider
    extends Object
    A provider of the different access controllers available in Silverpeas. The different access controllers are all managed in the IoC container and then can be get by dependency injection. Nevertheless, not all objects in Silverpeas are managed by the IoC container and they can need the services of an access controller. The AccessControllerProvider aims to make available the different access controllers to such objects.
    • Method Detail

      • getAccessController

        public static <T> AccessController<T> getAccessController​(Class<?> type)
        Gets the access controller identified by the specified qualifier.
        Type Parameters:
        T - the type of the resource that is used in the access control mechanism.
        Returns:
        the asked access controller.