Package com.easydesk.security
Interface SecurityService
- All Known Implementing Classes:
DefaultSecurityService,ModuleSecurityService
public interface SecurityService
The Security Service manages Users, Groups Roles and Permissions in the
system.
The task performed by the security service include providing access to the various types of managers.
Because of pluggable nature of the Services, it is possible to create multiple implementations of SecurityService, for example employing database and directory server as the data backend.
- Version:
- $Id$
- Author:
- Eric Pugh
-
Method Summary
Modifier and TypeMethodDescriptionReturns the configured GroupManager.<T extends SecurityEntityModelManager>
TReturns the configured ModelManager object that can then be casted to the specific model.Returns the configured PermissionManager.Returns the configured RoleManager.Returns the configured UserManager.
-
Method Details
-
getUserManager
UserManager getUserManager()Returns the configured UserManager.- Returns:
- An UserManager object
-
getGroupManager
GroupManager getGroupManager()Returns the configured GroupManager.- Returns:
- An GroupManager object
-
getRoleManager
RoleManager getRoleManager()Returns the configured RoleManager.- Returns:
- An RoleManager object
-
getPermissionManager
PermissionManager getPermissionManager()Returns the configured PermissionManager.- Returns:
- An PermissionManager object
-
getModelManager
Returns the configured ModelManager object that can then be casted to the specific model.- Type Parameters:
T- 사용하는 SecurityEntityModelManager 의 type- Returns:
- An ModelManager object
-