org.apache.turbine.services.security |
The security service can be used to authenticate users based on database information.
$Id: package.html 534527 2007-05-02 16:10:59Z tv $
|
Java Source File Name | Type | Comment |
AccessControlListTest.java | Class | |
BaseSecurityService.java | Class | This is a common subset of SecurityService implementation.
Provided functionality includes:
- methods for retrieving User objects, that delegates functionality
to the pluggable implementations of the User interface.
- synchronization mechanism for methods reading/modifying the security
information, that guarantees that multiple threads may read the
information concurrently, but threads that modify the information
acquires exclusive access.
- implementation of convenience methods for retrieving security entities
that maintain in-memory caching of objects for fast access.
author: Rafal Krzewski author: Henning P. |
SecurityService.java | Interface | The Security Service manages Users, Groups Roles and Permissions in the
system.
The task performed by the security service include creation and removal of
accounts, groups, roles, and permissions; assigning users roles in groups;
assigning roles specific permissions and construction of objects
representing these logical entities.
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.
author: Rafal Krzewski author: Henning P. |
TestSecurity.java | Class | |
TestSecurityACL.java | Class | |
TestSecurityGroup.java | Class | |
TestSecurityPermission.java | Class | |
TestSecurityRole.java | Class | |
TestSecurityUser.java | Class | |
TestSecurityUserManager.java | Class | |
TurbineSecurity.java | Class | This is a Facade class for SecurityService.
This class provides static methods that call related methods of the
implementation of SecurityService used by the System, according to
the settings in TurbineResources.
Certain Roles that the Users may have in the system may are not related
to any specific resource nor entity. |
UserManager.java | Interface | An UserManager performs
org.apache.turbine.om.security.User objects
related tasks on behalf of the
org.apache.turbine.services.security.BaseSecurityService .
The responsibilities of this class include loading data of an user from the
storage and putting them into the
org.apache.turbine.om.security.User objects, saving those data
to the permanent storage, and authenticating users.
author: Rafal Krzewski author: Henning P. |