Interface RepositorySecurityUserValidator

    • Method Detail

      • validateUserInfo

        boolean validateUserInfo​(IUser user)
        Validates user and returns true if all its data is valid.
        Note: this method performs fail-fast approach and does not return any details.
        Parameters:
        user - user's info
        Returns:
        true or false depending on whether or not user's info is valid
      • normalizeUserInfo

        void normalizeUserInfo​(IUser user)
        Performs normalization over user due to validation rules.
        Note: normalized is not guaranteed to pass validation rules
        Parameters:
        user - user's info