Package ch.colabproject.colab.tests.mock
Class SessionManagerMock
- java.lang.Object
-
- ch.colabproject.colab.api.security.SessionManager
-
- ch.colabproject.colab.tests.mock.SessionManagerMock
-
@Specializes public class SessionManagerMock extends SessionManager
Specializes SessionManager to prevent saving activity-dates automatically. Such auto save pollutes websocket messages and prevents their prediction.- Author:
- maxence
-
-
Constructor Summary
Constructors Constructor Description SessionManagerMock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeActivityDatesToDatabase()
Same as super but no @Schedule-
Methods inherited from class ch.colabproject.colab.api.security.SessionManager
authenticationFailure, clearExpiredHttpSessions, createHttpSession, deleteHttpSession, getActivityDate, getAndValidate, getAuthenticationAttempt, resetAuthenticationAttemptHistory, touchUserActivityDate
-
-
-
-
Method Detail
-
writeActivityDatesToDatabase
public void writeActivityDatesToDatabase()
Same as super but no @Schedule- Overrides:
writeActivityDatesToDatabase
in classSessionManager
-
-