|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
Description
| Interface Summary | |
|---|---|
| SAMApplication | Server applications that utilize the Light Development Simple Access Model (SAM) need to implement this interface. |
| UserDataStore | This interface has to be implemented by classes that want to provide user and role data in the context of the Light Development Simple Access Model (SAM) framework. |
| UserDataStoreAdministrator | This interface has to be implemented by classes that want to create, change or delete user and role data in the context of the Light Development Simple Access Model (SAM) framework. |
| Class Summary | |
|---|---|
| Gatekeeper | Gatekeeper is the central authorization object of the Light Developent Simple Access Model (SAM) framework. |
| JDBCAdapter | Abstract base class for database adapters based on the Java Database Connectivity (JDBC) API used by the Light Development Simple Access Model (SAM). |
| JDBCUserDataStore | JDBCUserDataStore is an implementation of interface UserDataStore to access a JDBC database having user and role data. |
| MemoryUserDataStore | A user data store that holds user data in memory (as opposed to e.g. |
| Role | The Role class models a user role in the context of the Light Development Simple Access Model (SAM) framework. |
| RootUserDataStore | A user data store that implements a single root user with all possible roles |
| SAMAuthenticator | SAMAuthenticator wraps methods login, logout and changeOwnPassword of a given Gatekeeper object so that they can be used as remote methods. |
| Session | A session is created for each user that is logged in the Light Development Simple Access Method (SAM) framework. |
| User | A user as modeled by the Light Development Simple Access Model (SAM) framework. |
| XmlStoreReader | An extension to class XmlReader that holds methods to transform xml text to Java objects for SAM classes User and Role assuming user and role data in XML tag attributes. |
| Enum Summary | |
|---|---|
| AccessException.Type | the types an instance of AccessException can assume |
| Exception Summary | |
|---|---|
| AccessException | AccessException.java |
The Light Development Simple Access Model (SAM) is a framework that models a user and
role based authentication and authorisation mechanism. It is build around the concept of
a central Gatekeeper object that authenticates users against a backing
UserDataStore and manages sessions for logged in users.
UserDataStore is modeled as an interface so that any type of data store
can be used with the framework. Default implementations of user data stores
are included in the SAM package for user data from a relational
database with class JDBCUserDataStore and for user data cached in memory
coming from an XML file with class MemoryUserDataStore.
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||