Class IdentityRequestValidator

java.lang.Object
fr.paris.lutece.plugins.identitystore.v1.web.rs.IdentityRequestValidator

public final class IdentityRequestValidator extends Object
util class used to validate identity store request
  • Method Details

    • instance

      public static IdentityRequestValidator instance()
      return singleton's instance
      Returns:
      IdentityRequestValidator
    • checkClientApplication

      public void checkClientApplication(String strClientCode) throws fr.paris.lutece.portal.service.util.AppException
      check whether the parameters related to the application are valid or not
      Parameters:
      strClientCode - client application code
      Throws:
      fr.paris.lutece.portal.service.util.AppException - if the parameters are not valid
    • checkIdentity

      public void checkIdentity(String strConnectionId, String strCustomerId) throws fr.paris.lutece.portal.service.util.AppException
      check whether the parameters related to the identity are valid or not
      Parameters:
      strConnectionId - the connection id
      strCustomerId - the customer id
      Throws:
      fr.paris.lutece.portal.service.util.AppException - if the parameters are not valid