SEC-584: Require user to explicitly set SessionRegistry, so the implementation can benefit from application context services.

This commit is contained in:
Ben Alex 2007-12-02 03:00:26 +00:00
parent c3dc3a3a4f
commit 99c5479f9a

View File

@ -40,7 +40,7 @@ public class ConcurrentSessionControllerImpl implements ConcurrentSessionControl
//~ Instance fields ================================================================================================
protected MessageSourceAccessor messages = AcegiMessageSource.getAccessor();
private SessionRegistry sessionRegistry = new SessionRegistryImpl();
private SessionRegistry sessionRegistry;
private boolean exceptionIfMaximumExceeded = false;
private int maximumSessions = 1;