Annotation Interface IsAuthorizedGeographicAddressValidationResourceOwnerOrAdmin


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