Class AccessControllerProvider
- java.lang.Object
-
- org.silverpeas.core.security.authorization.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> AccessController<T>
getAccessController(Class<?> type)
Gets the access controller identified by the specified qualifier.
-
-
-
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.
-
-