@groovy.transform.CompileStatic @groovy.transform.TypeChecked class AccessControl extends java.lang.Object
| Constructor and description |
|---|
AccessControl() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
static boolean |
accessControlMethod(grails.core.GrailsApplication grailsApplication, grails.artefact.Interceptor interceptor, boolean authcRequired, java.util.Map args, groovy.lang.Closure closure)Implementation of the "accessControl()" dynamic method available to Interceptors. |
|
static void |
loginRedirect(grails.core.GrailsApplication grailsApplication, grails.artefact.Interceptor interceptor) |
|
static void |
unauthorizedRedirect(grails.core.GrailsApplication grailsApplication, grails.artefact.Interceptor interceptor) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Implementation of the "accessControl()" dynamic method available to Interceptors. It requires a reference to the interceptor so that it can access the dynamic properties and methods, such as "request" and "redirect()". Called from ShiroGrailsPlugin
authcRequired - - boolean if authentication is required by default