Package org.eclipse.jetty.util.security
Interface CredentialProvider
-
public interface CredentialProviderProvider of credentials, it converts a String into a credential if it starts with a given prefix
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CredentialgetCredential(java.lang.String credential)Get a credential from a Stringjava.lang.StringgetPrefix()Get the prefix of the credential strings convertible into credentials
-
-
-
Method Detail
-
getCredential
Credential getCredential(java.lang.String credential)
Get a credential from a String- Parameters:
credential- String representation of the credential- Returns:
- A Credential or Password instance.
-
getPrefix
java.lang.String getPrefix()
Get the prefix of the credential strings convertible into credentials- Returns:
- prefix of the credential strings convertible into credentials
-
-