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

public class AccessDeniedException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. AccessDeniedException

Known subtypesCsrfException

The caller may not do what it asked. Thrown anywhere under a SecurityFilterChain, it is answered 403 by the chain’s AccessDeniedHandler when the caller is signed in, and by its AuthenticationEntryPoint – sign in first – when the caller is anonymous.

Constructors

public AccessDeniedException(String message)
public AccessDeniedException(String message, Throwable cause)

Inherited methods

Constructor details

AccessDeniedException

public AccessDeniedException(String message)

AccessDeniedException

public AccessDeniedException(String message, Throwable cause)