Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.
public final class SessionManagementConfigurer
- Object
- SecurityConfigurer
- SessionManagementConfigurer
Whether a chain uses the HTTP session, and what happens to it at sign-in.
http.sessionManagement(session ->
session.sessionCreationPolicy(SessionCreationPolicy.STATELESS));Nested types
class SessionManagementConfigurer.SessionFixationConfigurer | The choices for SessionManagementConfigurer.sessionFixation. |
Methods
Inherited methods
Method details
sessionCreationPolicy
public SessionManagementConfigurer sessionCreationPolicy(SessionCreationPolicy policy)See
SessionCreationPolicy; IF_REQUIRED unless set.sessionFixation
public SessionManagementConfigurer sessionFixation(Customizer<SessionManagementConfigurer.SessionFixationConfigurer> sessionFixationCustomizer)What protects a sign-in from a session id planted on the client
beforehand; the id is changed unless set otherwise.