can not use @PreAuthorize("permitAll()");?
Not sure what exactly you mean under "CustomAuthorization", but spring security is very flexible in terms of customization. You can customize tons of elements without breaking the skeleton (replaced something that disabled @PreAuthorize annotations handling). And if you find yourself doing so, then you are definitely doing something wrong way
Обсуждают сегодня