I am using spring security via spring boot and I want to get all hasAuthority params.
@PreAuthorize("hasAuthority(\'create-product\')") @PostMapping