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