es.udc.mypersonalizer.portal.controller.session |
|
Java Source File Name | Type | Comment |
DefaultSessionIdentifierCookieManagerSingleton.java | Class | This class defines a default specific implementation for
SessionIdentifierCookieManagerSingleton which manages the session cookie
by storing the user's login name and encrypted password in it so as to
make automatic logins possible.
This class calls the model actions called SignInAction and
FindUserRegistrationInformationAction, which must
therefore be correctly configured and registered.
The cookie contents are created according to the following schema:
Cookie = PBE( Type + MD5(encryptedPassword + X) workspaceIdentifier +
COOKIE_SEPARATOR + loginName)
Being:
- PBE: Password Based Encryption.
|
KeyChecker.java | Class | This utility class performs checks to ensure that a service property key
or workspace layout identifier are valid and correspond, either with
a service present in the current workspace, or with one of the workspaces
for wich the user has permissions. |
SessionIdentifierCookieManagerSingleton.java | Class | This singleton class processes the session cookies that are stored
in the user's browser and which enables the system to auto-sign in the
users when they ask it by remembering their passwords and to reconstruct
the users' sessions when they expire without annoying the users by making
them sign in again.
This singleton class has no fixed implementation: it must be extended
to establish the way in which cookies should be managed for each application. |
SessionManager.java | Class | This class provides via its static methods a way to store and retrieve
information needed to be available sesion-wide.
The names established for storing objects into the request are defined
in
SessionAttributeNames . |