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 Type
    Method
    Description
    getCredential(String credential)
    Get a credential from a String
    Get the prefix of the credential strings convertible into credentials
  • Method Details

    • getCredential

      Credential getCredential(String credential)
      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