Class AuthorizationFilter

java.lang.Object
com.codename1.backend.security.AuthorizationFilter
All Implemented Interfaces:
SecurityFilter

public final class AuthorizationFilter extends Object implements SecurityFilter
Puts the request to the chain's authorization rules, and throws AccessDeniedException when they refuse it. Last in every chain: what it lets through reaches the application.
  • Field Details

    • REQUIRED_AUTHORITIES

      public static final String REQUIRED_AUTHORITIES
      The attribute of the request's SecurityExchange that holds, as a list of text, the authorities any one of which the rule that refused the request would have accepted. Set when that rule was one about authorities, so that whatever answers the refusal can say what to ask for.
      See Also:
  • Method Details