Backend API. Server-side code: this runs in a Codename One backend, not in the app on the device.

public final class SecurityContextConfigurer

  1. Object
  2. SecurityConfigurer
  3. SecurityContextConfigurer
Where a chain keeps who is signed in between requests.

Methods

public SecurityContextConfigurer securityContextRepository(SecurityContextRepository securityContextRepository)The repository; the HTTP session unless set, and none for a chain with SessionCreationPolicy.STATELESS.
public void configure(HttpSecurity http)Adds this part’s filters; nothing by default.

Inherited methods

Method details

securityContextRepository

public SecurityContextConfigurer securityContextRepository(SecurityContextRepository securityContextRepository)
The repository; the HTTP session unless set, and none for a chain with SessionCreationPolicy.STATELESS.

configure

public void configure(HttpSecurity http)
Adds this part’s filters; nothing by default.