Package au.ala.org.ws.security.filter
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.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAllowed(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 annotationservletAttributes- This will probably be the interceptor instance- Returns:
- true if the request is allowed to proceed
-