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 Object
  • Constructor Details

    • RequestValidator

      public RequestValidator()
  • Method Details

    • 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(String strClientCode) throws RequestFormatException
      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

      public void checkTargetClientCode(String strTargetClientCode) throws RequestFormatException
      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

      public void checkApplicationCode(String strApplicationCode) throws RequestFormatException
      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