Package org.hibernate.build.publish.auth
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 TypeMethodDescriptiondetermineAuthentication(String repoId) Given a repository identifier and url, determine the authentication credentials according to this provider's contract.
-
Method Details
-
determineAuthentication
Given 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.- Parameters:
repoId- The id of the repository to check for authentication details.- Returns:
- The authentication details, or
nullto indicate none.
-