Annotation Interface IsAuthorizedUser


@Target(METHOD) @Retention(RUNTIME) @PreAuthorize("hasRole(\'TRUSTED_CLIENT\') OR @userValidator.validateUser(authentication, #relatedPartyId)") public @interface IsAuthorizedUser
Annotation for securing rest endpoints.
Only users that have role TRUSTED_CLIENT or users that obtained authorization are able to consume the endpoint.
Since:
2007