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

public interface Customizer<T>

Configures one part of an HttpSecurity: the lambda handed to formLogin, csrf, authorizeHttpRequests and the rest.

Methods

public abstract void customize(T t)
public static <T> Customizer<T> withDefaults()A customizer that changes nothing, for a part whose defaults are wanted: http.httpBasic(Customizer.withDefaults()).

Method details

customize

public abstract void customize(T t)

withDefaults

public static <T> Customizer<T> withDefaults()
A customizer that changes nothing, for a part whose defaults are wanted: http.httpBasic(Customizer.withDefaults()).