Interface CredentialProvider


  • public interface CredentialProvider
    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)
        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