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

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

Introduction

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

Prototype

public GuestAnnotationHandler() 

Source Link

Document

Default no-argument constructor that ensures this interceptor looks for org.apache.shiro.authz.annotation.RequiresGuest RequiresGuest annotations in a method declaration.

Usage

From source file:com.flowlogix.security.internal.aop.HandlerCreateVisitor.java

License:Apache License

@Override
public void visitRequiresGuest(RequiresGuest annotation) {
    handler = new GuestAnnotationHandler();
}

From source file:com.github.aenevala.karaf.shiro.ShiroAnnotationResourceFilter.java

License:Apache License

public ShiroAnnotationResourceFilter() {
    ANNOTATION_MAP.put(RequiresPermissions.class, new PermissionAnnotationHandler());
    ANNOTATION_MAP.put(RequiresRoles.class, new RoleAnnotationHandler());
    ANNOTATION_MAP.put(RequiresUser.class, new UserAnnotationHandler());
    ANNOTATION_MAP.put(RequiresGuest.class, new GuestAnnotationHandler());
    ANNOTATION_MAP.put(RequiresAuthentication.class, new AuthenticatedAnnotationHandler());
}