Class SettingsXmlCredentialsProvider

java.lang.Object
org.hibernate.build.publish.auth.maven.SettingsXmlCredentialsProvider
All Implemented Interfaces:
CredentialsProvider

public class SettingsXmlCredentialsProvider extends Object implements CredentialsProvider
Provider of credentials based on standard Maven conventions using settings.xml.
  • Field Details

  • Constructor Details

    • SettingsXmlCredentialsProvider

      public SettingsXmlCredentialsProvider()
  • Method Details

    • determineAuthentication

      public Credentials determineAuthentication(String repoId)
      Description copied from interface: CredentialsProvider
      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.
      Specified by:
      determineAuthentication in interface CredentialsProvider
      Parameters:
      repoId - The id of the repository to check for authentication details.
      Returns:
      The authentication details, or null to indicate none.