Interface IdentityEvidenceVerifier

    • Method Detail

      • getEvidenceVerifySupport

        SupportLevel getEvidenceVerifySupport​(Class<? extends Evidence> evidenceType,
                                              String algorithmName,
                                              Supplier<Provider[]> providers)
                                       throws RealmUnavailableException
        Determine whether a given credential is definitely supported, possibly supported, or definitely not supported.
        Parameters:
        evidenceType - the evidence type (must not be null)
        algorithmName - the algorithm name, if any
        providers - the providers to use when checking the ability to verify evidence.
        Returns:
        the level of support for this credential type
        Throws:
        RealmUnavailableException - if the realm is unavailable to verify credentials.
      • verifyEvidence

        boolean verifyEvidence​(Evidence evidence,
                               Supplier<Provider[]> providers)
                        throws RealmUnavailableException
        Verify the given evidence against the named credential.
        Parameters:
        evidence - the evidence to verify.
        providers - the providers to use when verifying evidence.
        Returns:
        true if the evidence is successfully verified, false otherwise.
        Throws:
        RealmUnavailableException - if the realm is unavailable to verify credentials.