Java 类org.springframework.web.context.annotation.RequestScope 实例源码

项目:dolphin-platform    文件:SecurityBeanFactory.java   
@Bean("security")
@RequestScope
public SecurityContext createDolphinSession() {
    return DolphinSecurityBootstrap.getInstance().getSecurityForCurrentRequest();
}