Class OAuthClientRegistrationWrapperEntityValidator
- java.lang.Object
-
- com.broadleafcommerce.auth.client.validation.OAuthClientRegistrationWrapperEntityValidator
-
- All Implemented Interfaces:
com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidator
public class OAuthClientRegistrationWrapperEntityValidator extends Object implements com.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidator
Validate that aOAuthClientRegistrationWrapper
has a registration id, client id, and client secret
-
-
Constructor Summary
Constructors Constructor Description OAuthClientRegistrationWrapperEntityValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supports(@NonNull Class<?> serviceClass, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
void
validate(@NonNull Object businessInstance, @NonNull org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
-
-
-
Method Detail
-
supports
public boolean supports(@NonNull @NonNull Class<?> serviceClass, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
- Specified by:
supports
in interfacecom.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidator
-
validate
public void validate(@NonNull @NonNull Object businessInstance, @NonNull @NonNull org.springframework.validation.Errors errors, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
- Specified by:
validate
in interfacecom.broadleafcommerce.data.tracking.core.mapping.validation.EntityValidator
-
-