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

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

Introduction

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

Prototype

public AuthenticatedAnnotationHandler() 

Source Link

Document

Default no-argument constructor that ensures this handler to process org.apache.shiro.authz.annotation.RequiresAuthentication RequiresAuthentication annotations.

Usage

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

License:Apache License

@Override
public void visitRequiresAuthentication(RequiresAuthentication annotation) {
    handler = new AuthenticatedAnnotationHandler();
}

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