Interface AppIssuesWithMailsValidationService

All Known Implementing Classes:
AppIssuesWithMailsValidationServiceImpl

public interface AppIssuesWithMailsValidationService
Service for running email issues scans for a given application. Scan counts duplicated and invalid email addresses of users within a given application.

Such users are NOT authorized when Crowd acts as a SAML IdP for a SP which uses email as NameID format.

  • Method Details

    • runValidation

      void runValidation(long appId)
      Runs scan for a given application. Overrides previous scan result. The scan is run asynchronously and can take some time to finish. Once the scan is finished, the result can be obtained by getLastValidationResult(long).
      Parameters:
      appId - id of an application
      Throws:
      EmailsScanFailedToRunException - when emails scan failed to run
    • getLastValidationResult

      Optional<ValidationResult> getLastValidationResult(long appId)
      Gets result of the latest scan for a given application.
      Parameters:
      appId - if of an application
      Returns:
      optional containing result of the scan, or empty optional if there is no scan result associated with an app