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

public final class AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry

  1. Object
  2. AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry
Where rules are added: pick the requests, then say what they need.

Methods

public AuthorizeHttpRequestsConfigurer.AuthorizedUrl requestMatchers(String... patterns)The requests whose path matches any of these Ant patterns; see AntPathRequestMatcher.
public AuthorizeHttpRequestsConfigurer.AuthorizedUrl requestMatchers(RequestMatcher... matchers)The requests any of these matchers match.
public AuthorizeHttpRequestsConfigurer.AuthorizedUrl anyRequest()Every request the rules before this one did not match.

Inherited methods

Method details

requestMatchers

public AuthorizeHttpRequestsConfigurer.AuthorizedUrl requestMatchers(String... patterns)
The requests whose path matches any of these Ant patterns; see AntPathRequestMatcher.

requestMatchers

public AuthorizeHttpRequestsConfigurer.AuthorizedUrl requestMatchers(RequestMatcher... matchers)
The requests any of these matchers match.

anyRequest

public AuthorizeHttpRequestsConfigurer.AuthorizedUrl anyRequest()
Every request the rules before this one did not match. The last rule.