Annotation Interface IsAuthorizedAdminOrNotAnonymous
@Deprecated(since="2208")
@Target(METHOD)
@Retention(RUNTIME)
@PreAuthorize("hasRole(\'TRUSTED_CLIENT\') OR @userValidator.isClientNotAnonymous(authentication, #relatedPartyId)")
public @interface IsAuthorizedAdminOrNotAnonymous
Deprecated.
2208
Annotation for securing rest endpoints.
Users that have role TRUSTED_CLIENT, users that are logged in and not anonymous can retrieve data from this endpoint.
Users that have role TRUSTED_CLIENT, users that are logged in and not anonymous can retrieve data from this endpoint.
- Since:
- 2108