Class RequestValidator
java.lang.Object
fr.paris.lutece.plugins.identitystore.v3.web.rs.RequestValidator
- Direct Known Subclasses:
ExportRequestValidator,IdentityRequestValidator,IdentityTaskRequestValidator,ServiceContractRequestValidator,SuspiciousIdentityRequestValidator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckApplicationCode(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
-
Constructor Details
-
RequestValidator
public RequestValidator()
-
-
Method Details
-
checkAuthor
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
check 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
check 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
check whether the parameters related to the application are valid or not- Parameters:
strApplicationCode- client application code- Throws:
RequestFormatException- if the parameters are not valid
-