Interface CredentialsProvider

All Known Implementing Classes:
SettingsXmlCredentialsProvider

public interface CredentialsProvider
Contract for providers of authentication credentials for authenticating against remote repositories.
  • Method Summary

    Modifier and Type
    Method
    Description
    Given a repository identifier and url, determine the authentication credentials according to this provider's contract.
  • Method Details

    • determineAuthentication

      Credentials determineAuthentication(String repoId)
      Given a repository identifier and url, determine the authentication credentials according to this provider's contract. Return null to indicate no authentication applied for this repository by this provider.
      Parameters:
      repoId - The id of the repository to check for authentication details.
      Returns:
      The authentication details, or null to indicate none.