com.acsinet_solutions.cetia4.controller
Interface WebServiceLocator

All Superinterfaces:
ServiceLocator

public interface WebServiceLocator
extends ServiceLocator

Base interface for service locator in a web application, defines some basic services. Cetia 4 provides basic no-op or limited-op implementations for all these types of services, so no real struggle is needed when first incorporated into a new application.


Method Summary
 UserSessionManager getUserSessionManager()
          Defines a user session manager that obtains information about a user.
 

Method Detail

getUserSessionManager

UserSessionManager getUserSessionManager()
Defines a user session manager that obtains information about a user. This is needed for authentication login types other than NONE. If the service locator is not a WebServiceLocator, a generic user session manager is used.

A basic configuration that works with a generic system session is provided with the class com.acsinet_solutions.controller.security.BasicUserSessionManager.

More complete implementations may be easily created by the user. The authenticate() method must be implemented on form and custom authentication schemes ( currently not supported ), the createSessionFor() method must be implemented for controller standard authentication and also for ALWAYS login type authentication.

See Also:
LoginType, BasicUserSessionManager