Annotation Type ResolveCustomerRef
Triggers automatic resolution of any customer references on an endpoint. May be placed at the
class, method, or parameter level. Mapped methods will have their
CustomerRef
parameters
automatically resolved by CustomerRefHandlerMethodArgumentResolver
. The reference will be
populated by the current authentication details.- Author:
- Divyank Chavan.
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Indicates that the customer reference must be resolver to a registered customer, otherwise an authentication exception will be thrown.
-
Element Details
-
registeredOnly
boolean registeredOnlyIndicates that the customer reference must be resolver to a registered customer, otherwise an authentication exception will be thrown.- Returns:
- true to only allow registered customer references, false to also allow anonymous customer references
- Default:
- false
-