Interface Authorizer

All Known Implementing Classes:
AuthorizerImpl

public interface Authorizer
Authorise that a SearchRequest may be permitted.
  • Field Details

  • Method Details

    • isSearchRequestAuthorized

      Authorizer.Result isSearchRequestAuthorized(ApplicationUser user, SearchRequest searchRequest, SearchRequestParams params)
      Can the specified user perform this SearchRequest?
      Parameters:
      user - who is trying to perform the
      searchRequest - they are attempting
      params - the parameters for the search (such as tempMax etc)
      Returns:
      Result that says yay or nay, must not be null