Package ch.colabproject.colab.tests.mock
Class SessionManagerMock
java.lang.Object
ch.colabproject.colab.api.security.SessionManager
ch.colabproject.colab.tests.mock.SessionManagerMock
Specializes SessionManager to prevent saving activity-dates automatically.
Such auto save pollutes websocket messages and prevents their prediction.
- Author:
- maxence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSame as super but no @ScheduleMethods inherited from class ch.colabproject.colab.api.security.SessionManager
authenticationFailure, clearExpiredHttpSessionsInTrn, createHttpSession, deleteHttpSession, getActivityDate, getAndValidate, getAuthenticationAttempt, resetAuthenticationAttemptHistory, touchUserActivityDate
-
Constructor Details
-
SessionManagerMock
public SessionManagerMock()
-
-
Method Details
-
writeActivityDatesToDatabaseInTrn
public void writeActivityDatesToDatabaseInTrn()Same as super but no @Schedule- Overrides:
writeActivityDatesToDatabaseInTrnin classSessionManager
-