Interface AccessManager

All Known Implementing Classes:
HttpHeaderAccessManager
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface AccessManager
Provides access control for a Dispatcher.
Since:
1.3.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AccessManager
    AccessManager that permits all requests.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAllowed(org.springframework.http.server.ServerHttpRequest request)
    Determine if the specific request is allowed to be handled by the Dispatcher.
  • Field Details

  • Method Details

    • isAllowed

      boolean isAllowed(org.springframework.http.server.ServerHttpRequest request)
      Determine if the specific request is allowed to be handled by the Dispatcher.
      Parameters:
      request - the request to check
      Returns:
      true if access is allowed.