Example usage for org.apache.shiro.concurrent SubjectAwareExecutor SubjectAwareExecutor

List of usage examples for org.apache.shiro.concurrent SubjectAwareExecutor SubjectAwareExecutor

Introduction

In this page you can find the example usage for org.apache.shiro.concurrent SubjectAwareExecutor SubjectAwareExecutor.

Prototype

public SubjectAwareExecutor(Executor targetExecutor) 

Source Link

Usage

From source file:com.github.legman.shiro.ShiroExecutorDecoratorFactory.java

License:Apache License

@Override
public Executor decorate(Executor executor) {
    logger.debug("register {} as {} for legman", ShiroExecutorDecoratorFactory.class,
            ExecutorDecoratorFactory.class);
    return new SubjectAwareExecutor(executor);
}