Interface Resolver

    • Method Detail

      • canAccess

        boolean canAccess​(Request request)
        Implement access control if authorization is enabled.

        Is not called when access control is not active.

        Parameters:
        request - HTTP request, contains all information necessary to check access.
        Returns:
        true if allowed or invalid target, false if response should be 403 (forbidden)
        See Also:
        for that has access permissions.
      • requiresAuth

        default boolean requiresAuth​(Request request)