Package org.apache.fulcrum.security
Interface SecurityService
- All Known Implementing Classes:
BaseSecurityService
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
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns the configured GroupManager.<T extends ModelManager>
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.
-
Field Details
-
ROLE
-
-
Method Details
-
getUserManager
UserManager getUserManager()Returns the configured UserManager.- Returns:
- An UserManager object
-
getGroupManager
GroupManager getGroupManager()Returns the configured GroupManager.- Returns:
- An UserManager 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
- ModelManager- Returns:
- An ModelManager object
-