Example usage for org.apache.shiro.authz.aop PermissionAnnotationMethodInterceptor PermissionAnnotationMethodInterceptor

List of usage examples for org.apache.shiro.authz.aop PermissionAnnotationMethodInterceptor PermissionAnnotationMethodInterceptor

Introduction

In this page you can find the example usage for org.apache.shiro.authz.aop PermissionAnnotationMethodInterceptor PermissionAnnotationMethodInterceptor.

Prototype

public PermissionAnnotationMethodInterceptor(AnnotationResolver resolver) 

Source Link

Usage

From source file:fathom.shiro.aop.AopModule.java

License:Apache License

protected void configureDefaultInterceptors(AnnotationResolver resolver) {
    bindShiroInterceptor(new RoleAnnotationMethodInterceptor(resolver));
    bindShiroInterceptor(new PermissionAnnotationMethodInterceptor(resolver));
    bindShiroInterceptor(new AuthenticatedAnnotationMethodInterceptor(resolver));
    bindShiroInterceptor(new UserAnnotationMethodInterceptor(resolver));
    bindShiroInterceptor(new GuestAnnotationMethodInterceptor(resolver));
}