Annotation Interface IsUserAbleToAccessOrders
@Target(METHOD)
@Retention(RUNTIME)
@PreAuthorize("hasRole(\'TRUSTED_CLIENT\') OR @userValidator.canUserListOrders(authentication, #relatedPartyId)")
public @interface IsUserAbleToAccessOrders
Annotation for securing rest endpoints.
This annotation checks if the user is able to access orders.
This annotation checks if the user is able to access orders.
- Since:
- 2105