Interface RequireApiKeyFilter

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 RequireApiKeyFilter
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAllowed(au.ala.org.ws.security.RequireApiKey annotation, grails.web.api.ServletAttributes servletAttributes)
    Check if the request is allowed to proceed based on the annotation and the servlet attributes.
  • Method Details

    • isAllowed

      boolean isAllowed(au.ala.org.ws.security.RequireApiKey annotation, grails.web.api.ServletAttributes servletAttributes)
      Check if the request is allowed to proceed based on the annotation and the servlet attributes.
      Parameters:
      annotation - the annotation
      servletAttributes - This will probably be the interceptor instance
      Returns:
      true if the request is allowed to proceed