|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
GroupSet | Represents a set of groups. |
MessageDigester | Utility class that encapsulates a message digest method. |
NameValidator | Validator of names. |
UserAccessor | Interface for accessing the currently logged in user. |
UserAdministration | Interface for user administration. |
UserSet | Represents a set of users. |
Class Summary | |
---|---|
AbstractUserSet | User set base class. |
Group | Represents a group. |
InMemoryGroupSet | In-memory group set implementation. |
InMemoryUserSet | In-memory user set. |
JaasUserAccessor | Implementation of the user accessor that retrieves user information from JAAS. |
Md5HexMessageDigester | MD5 Hex encoder. |
RegexpNameValidator | Validation of names based on a regular expression. |
User | Represents a user. |
UserAdminInitializer | User administration initializer. |
UserAdministrationImpl | Administration of users and groups. |
Enum Summary | |
---|---|
UserMgtException.Reason | Possible causes for the exception. |
Exception Summary | |
---|---|
UserMgtException | User management exception. |
This package provides support for managing users and their authentication.
UserAdministration
interface for the following tasks:
UserAdminInitializer
can be used to automatically initialize the user administration with
initial users and groups when there are no users defined yet.
To use the user administration interface, several implementation classes must be wired together. This is
explained below.
There is one implementation UserAdministrationImpl
of this interface that must be constructed
with a UserSet
and GroupSet
implementation, together with two validators: one for
user names and another for group names.
For user and groups sets there are two implementations, one inmemory and another with database persistence.
Typically the one with database persistence is used but for testing other code, the inmemory implementation
can be used.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |