Package org.apereo.cas.digest
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 public interface DigestHashedCredentialRetrieverThis isDigestHashedCredentialRetriever.- Since:
- 5.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringfindCredential(java.lang.String uid, java.lang.String realm)Find the MD5 hashed secret for a given user and realm.
-
-
-
Method Detail
-
findCredential
java.lang.String findCredential(java.lang.String uid, java.lang.String realm) throws javax.security.auth.login.AccountNotFoundExceptionFind the MD5 hashed secret for a given user and realm.- Parameters:
uid- the uidrealm- the realm- Returns:
- the secret
- Throws:
javax.security.auth.login.AccountNotFoundException- if the account is not found
-
-