Security implemented with custom SecurityContext.