Class DefaultDigestHashedCredentialRetriever

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String findCredential​(java.lang.String uid, java.lang.String realm)
      Find the MD5 hashed secret for a given user and realm.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultDigestHashedCredentialRetriever

        public DefaultDigestHashedCredentialRetriever()
    • Method Detail

      • findCredential

        public java.lang.String findCredential​(java.lang.String uid,
                                               java.lang.String realm)
                                        throws javax.security.auth.login.AccountNotFoundException
        Description copied from interface: DigestHashedCredentialRetriever
        Find the MD5 hashed secret for a given user and realm.
        Specified by:
        findCredential in interface DigestHashedCredentialRetriever
        Parameters:
        uid - the uid
        realm - the realm
        Returns:
        the secret
        Throws:
        javax.security.auth.login.AccountNotFoundException - if the account is not found