Example usage for org.apache.shiro.authz.aop AuthorizingAnnotationMethodInterceptor subclass-usage

List of usage examples for org.apache.shiro.authz.aop AuthorizingAnnotationMethodInterceptor subclass-usage

Introduction

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

Usage

From source file com.ligontech.annotations.AuthAnnotationMethodInterceptor.java

/**
 * Checks to see if a @{@link org.apache.shiro.authz.annotation.RequiresPermissions RequiresPermissions} annotation is declared, and if so, performs
 * a permission check to see if the calling <code>Subject</code> is allowed to call the method.
 * @since 0.9
 */
public class AuthAnnotationMethodInterceptor extends AuthorizingAnnotationMethodInterceptor {

From source file org.killbill.billing.util.security.PermissionAnnotationMethodInterceptor.java

public class PermissionAnnotationMethodInterceptor extends AuthorizingAnnotationMethodInterceptor {

    public PermissionAnnotationMethodInterceptor(final AuthorizingAnnotationHandler handler,
            final AnnotationResolver resolver) {
        super(handler, resolver);
    }