Groovy Documentation

Package griffon.plugins.shiro.annotation

Annotations used to restrict which classes, instances, or methods may be accessed or invoked depending on the caller's access abilities or authentication state. Copied from Shiro 1.2.1 in order to enable annotations of fields (required by Closure properties)

 

Enum Summary
Logical An enum for specifying a logical operation that can be used for interpreting authorization annotations
 


Annotation Type Summary
RequiresAuthentication Requires the current Subject to have been authenticated during their current session for the annotated class/instance/method to be accessed or invoked.
RequiresGuest Requires the current Subject to be a "guest", that is, they are not authenticated or remembered from a previous session for the annotated class/instance/method to be accessed or invoked.
RequiresPermissions
RequiresRoles Requires the currently executing org.apache.shiro.subject.Subject to have all of the specified roles.
 


Groovy Documentation