Class AddRolesToClientsValidator
java.lang.Object
com.skava.auth.service.validator.AuthValidatorComponent
com.skava.auth.service.validator.clientrole.AddRolesToClientsValidator
- All Implemented Interfaces:
com.skava.core.EcommComponent
,com.skava.core.validation.ValidatorComponent
A class to define the service for validating request from the 'auth/clientRoles' API.
- Version:
- $Id: $Id
- Author:
- Infosys Equinox
-
Field Summary
Fields inherited from class com.skava.auth.service.validator.AuthValidatorComponent
collectionRepository, messageSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
preProcess
(com.skava.core.validation.InputModel model) preProcess.Methods inherited from class com.skava.auth.service.validator.AuthValidatorComponent
validateBusinessIdForRole, validateClientRole, validateCollection, validateCollectionId, validateRole, validateRole, validateRole
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.skava.core.EcommComponent
destroy, init, onEvent
Methods inherited from interface com.skava.core.validation.ValidatorComponent
postProcess, preProcess
-
Constructor Details
-
AddRolesToClientsValidator
public AddRolesToClientsValidator()
-
-
Method Details
-
preProcess
public void preProcess(com.skava.core.validation.InputModel model) preProcess.
This method validate the request of the 'auth/userRoles' API and also it throw validation exceptions when the request data is invalid or not acceptable based on business logic.- Specified by:
preProcess
in interfacecom.skava.core.validation.ValidatorComponent
- Overrides:
preProcess
in classAuthValidatorComponent
- Parameters:
model
- aInputModel
object.
-