Added support for custom permissions to Spring Security