@groovy.util.logging.Slf4j @groovy.transform.CompileStatic class GrailsWebInvocationPrivilegeEvaluator extends DefaultWebInvocationPrivilegeEvaluator
createFilterInvocation() is private in the base class so this is required to create
a mock request that works with Grails - more methods get called than are expected in the mock request
that the base class uses.
| Modifiers | Name | Description |
|---|---|---|
protected static FilterChain |
DUMMY_CHAIN |
|
protected static HttpServletResponse |
DUMMY_RESPONSE |
|
protected AbstractSecurityInterceptor |
interceptor |
| Fields inherited from class | Fields |
|---|---|
class DefaultWebInvocationPrivilegeEvaluator |
interceptor |
| Constructor and description |
|---|
GrailsWebInvocationPrivilegeEvaluator(AbstractSecurityInterceptor securityInterceptor)Constructor. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected FilterInvocation |
createFilterInvocation(java.lang.String contextPath, java.lang.String uri, java.lang.String method) |
|
boolean |
isAllowed(java.lang.String contextPath, java.lang.String uri, java.lang.String method, Authentication authentication) |
| Methods inherited from class | Name |
|---|---|
class DefaultWebInvocationPrivilegeEvaluator |
isAllowed, isAllowed |
Constructor.
securityInterceptor - the security interceptor