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