@Bean("security") @RequestScope public SecurityContext createDolphinSession() { return DolphinSecurityBootstrap.getInstance().getSecurityForCurrentRequest(); }