public interface DirectoryManager
SecurityManager.createDirectoryManager(UserDetails)
.
The directory manager is a standalone component that is used to manage users and roles, outside
of the service (server) life-cycle. Management capability is optional if management is done using
an external tool. If this is the case, a DirectoryAccessDeniedException
should be thrown
in response to the SecurityManager.createDirectoryManager(UserDetails)
call.
DirectoryAccessDeniedException
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the resource used to store the user and role details.
|
RoleManager |
getRoleManager()
A role manager for role-management based on the privileges granted to the directory manager.
|
UserManager |
getUserManager()
A user manager for user-management based on the privileges granted to the directory manager.
|
UserManager getUserManager()
RoleManager getRoleManager()
void close()
Implementors may choose to flush all gathered details, or remove any excess resources (database connections) that may have been opened upon construction.
Copyright © GigaSpaces.