Class SessionManagementConfigurer.ConcurrencyControlConfigurer
java.lang.Object
com.codename1.backend.security.SessionManagementConfigurer.ConcurrencyControlConfigurer
- Enclosing class:
SessionManagementConfigurer
The choices that follow
SessionManagementConfigurer.maximumSessions.-
Method Summary
Modifier and TypeMethodDescriptionand()Back to the session settings.expiredUrl(String url) Where an expired session's next request is redirected; without one it is answered 401 with an explanation.maxSessionsPreventsLogin(boolean prevents) Refuses a sign-in past the limit, instead of expiring the oldest session.sessionRegistry(SessionRegistry sessionRegistry) The registry to count sessions in, to list or expire them from application code; one is made otherwise.
-
Method Details
-
maxSessionsPreventsLogin
public SessionManagementConfigurer.ConcurrencyControlConfigurer maxSessionsPreventsLogin(boolean prevents) Refuses a sign-in past the limit, instead of expiring the oldest session. False unless set, as in Spring. -
expiredUrl
Where an expired session's next request is redirected; without one it is answered 401 with an explanation. -
sessionRegistry
public SessionManagementConfigurer.ConcurrencyControlConfigurer sessionRegistry(SessionRegistry sessionRegistry) The registry to count sessions in, to list or expire them from application code; one is made otherwise. -
and
Back to the session settings.
-