Interface DigestHashedCredentialRetriever

  • All Known Implementing Classes:
    DefaultDigestHashedCredentialRetriever
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    @Deprecated(since="6.6")
    public interface DigestHashedCredentialRetriever
    Deprecated.
    Since 6.6
    Since:
    5.0.0
    • Method Detail

      • findCredential

        java.lang.String findCredential​(java.lang.String uid,
                                        java.lang.String realm)
                                 throws javax.security.auth.login.AccountNotFoundException
        Deprecated.
        Find the MD5 hashed secret for a given user and realm.
        Parameters:
        uid - the uid
        realm - the realm
        Returns:
        the secret
        Throws:
        javax.security.auth.login.AccountNotFoundException - if the account is not found