В открытом контроллере вот из этого поста при вызове
rolesService.getAllRoles()
получаю:
No security context bound to the current thread
если добавляю
UUID anonymousSessionId = configuration.getConfig(GlobalConfig.class).getAnonymousSessionId(); AppContext.setSecurityContext(new SecurityContext(anonymousSessionId));
то получаю:
NoUserSessionException: User session not found: 71a6…