Top Description Methods
org.eclipse.jetty.util.security

public Interface CredentialProvider


Provider of credentials, it converts a String into a credential if it starts with a given prefix

Method Summary

Modifier and TypeMethod and Description
public Credential

Returns:

A Credential or Password instance.
getCredential
(String
String representation of the credential
credential
)

Get a credential from a String

public String

Returns:

prefix of the credential strings convertible into credentials
getPrefix
()

Get the prefix of the credential strings convertible into credentials

Method Detail

getCredentialback to summary
public Credential getCredential(String credential)

Get a credential from a String

Parameters
credential:String

String representation of the credential

Returns:Credential

A Credential or Password instance.

getPrefixback to summary
public String getPrefix()

Get the prefix of the credential strings convertible into credentials

Returns:String

prefix of the credential strings convertible into credentials