Interface CredentialProvider


  • @Deprecated(since="2021-05-27")
    public interface CredentialProvider
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Provider of credentials, it converts a String into a credential if it starts with a given prefix
    • Method Detail

      • getCredential

        Credential getCredential​(java.lang.String credential)
        Deprecated.
        Get a credential from a String
        Parameters:
        credential - String representation of the credential
        Returns:
        A Credential or Password instance.
      • getPrefix

        java.lang.String getPrefix()
        Deprecated.
        Get the prefix of the credential strings convertible into credentials
        Returns:
        prefix of the credential strings convertible into credentials