Class SettingsXmlCredentialsProvider
java.lang.Object
org.hibernate.build.publish.auth.maven.SettingsXmlCredentialsProvider
- All Implemented Interfaces:
CredentialsProvider
Provider of credentials based on standard Maven conventions using settings.xml.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetermineAuthentication(String repoId) Given a repository identifier and url, determine the authentication credentials according to this provider's contract.
-
Field Details
-
SETTINGS_LOCATION_OVERRIDE
- See Also:
-
valueProcessor
-
-
Constructor Details
-
SettingsXmlCredentialsProvider
public SettingsXmlCredentialsProvider()
-
-
Method Details
-
determineAuthentication
Description copied from interface:CredentialsProviderGiven a repository identifier and url, determine the authentication credentials according to this provider's contract. Returnnullto indicate no authentication applied for this repository by this provider.- Specified by:
determineAuthenticationin interfaceCredentialsProvider- Parameters:
repoId- The id of the repository to check for authentication details.- Returns:
- The authentication details, or
nullto indicate none.
-