Class RequestValidator
- java.lang.Object
-
- fr.paris.lutece.plugins.identitystore.v3.web.rs.RequestValidator
-
- Direct Known Subclasses:
BatchRequestValidator,ExportRequestValidator,IdentityRequestValidator,IdentityTaskRequestValidator,SuspiciousIdentityRequestValidator
public abstract class RequestValidator extends Object
-
-
Constructor Summary
Constructors Constructor Description RequestValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckApplicationCode(String strApplicationCode)check whether the parameters related to the application are valid or notvoidcheckAuthor(RequestAuthor author)Check whether the parameters related to the author are valid or notvoidcheckClientCode(String strClientCode)check whether the parameters related to the application are valid or notvoidcheckTargetClientCode(String strTargetClientCode)check whether the parameters related to the application are valid or not
-
-
-
Method Detail
-
checkAuthor
public void checkAuthor(RequestAuthor author) throws IdentityStoreException
Check whether the parameters related to the author are valid or not- Parameters:
author- the request author to validate- Throws:
IdentityStoreException- in case of error
-
checkClientCode
public void checkClientCode(String strClientCode) throws IdentityStoreException
check whether the parameters related to the application are valid or not- Parameters:
strClientCode- client application code- Throws:
IdentityStoreException- if the parameters are not valid
-
checkTargetClientCode
public void checkTargetClientCode(String strTargetClientCode) throws IdentityStoreException
check whether the parameters related to the application are valid or not- Parameters:
strTargetClientCode- target client application code- Throws:
IdentityStoreException- if the parameters are not valid
-
checkApplicationCode
public void checkApplicationCode(String strApplicationCode) throws IdentityStoreException
check whether the parameters related to the application are valid or not- Parameters:
strApplicationCode- client application code- Throws:
IdentityStoreException- if the parameters are not valid
-
-