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

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

Introduction

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

Prototype

public RoleAnnotationMethodInterceptor(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));
}