Class IdentityRequestValidator


  • public final class IdentityRequestValidator
    extends java.lang.Object
    util class used to validate identity store request
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void checkClientApplication​(java.lang.String strClientCode)
      check whether the parameters related to the application are valid or not
      void checkIdentity​(java.lang.String strConnectionId, java.lang.String strCustomerId)
      check whether the parameters related to the identity are valid or not
      static IdentityRequestValidator instance()
      return singleton's instance
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • instance

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

        public void checkClientApplication​(java.lang.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​(java.lang.String strConnectionId,
                                  java.lang.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