Package org.eclipse.aether.repository
Interface AuthenticationSelector
- All Known Implementing Classes:
ConservativeAuthenticationSelector
,DefaultAuthenticationSelector
public interface AuthenticationSelector
Selects authentication for a given remote repository.
-
Method Summary
Modifier and TypeMethodDescriptiongetAuthentication
(RemoteRepository repository) Selects authentication for the specified remote repository.
-
Method Details
-
getAuthentication
Selects authentication for the specified remote repository.- Parameters:
repository
- The repository for which to select authentication, must not benull
.- Returns:
- The selected authentication or
null
if none.
-