Package org.eclipse.jetty.util.security
Interface CredentialProvider
public interface CredentialProvider
Provider of credentials, it converts a String into a credential if it starts with a given prefix
-
Method Summary
Modifier and TypeMethodDescriptiongetCredential
(String credential) Get a credential from a StringGet the prefix of the credential strings convertible into credentials
-
Method Details
-
getCredential
Get a credential from a String- Parameters:
credential
- String representation of the credential- Returns:
- A Credential or Password instance.
-
getPrefix
String getPrefix()Get the prefix of the credential strings convertible into credentials- Returns:
- prefix of the credential strings convertible into credentials
-