es.udc.mypersonalizer.portal.controller.filters |
|
Java Source File Name | Type | Comment |
AuthenticationPreProcessingFilter.java | Class | This filter provides MyPersonalizer with a way to control whether an action
can be accessed by a user who has not signed in yet.
If the action requested is configured in struts-config.xml with
"authenticationRequired = true" and the user has not logged in yet,
this filter prevents him from executing the action. |
PortalActionMapping.java | Class | This class extends the standard ActionMapping assigned to Struts Actions
by adding the ability to define whether an action should only be
executed by previously authenticated (signed in) users or not.
This is configured in struts-config.xml by setting to "true" or "false"
a parameter called "authenticationRequired" for the action mapping. |
SessionPreProcessingFilter.java | Class | This filter processes users' requests and takes into account all session
stuff.
It must assure that session is initialized and that all the necessary
session information is correctly stored session-wide.
It works the following way:
- Calls isSessionInitializedForAuthenticatedUser, which
checks if all the needed information is in the request.
|