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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authentication
getAuthentication(RemoteRepository repository)
Selects authentication for the specified remote repository.
-
-
-
Method Detail
-
getAuthentication
Authentication getAuthentication(RemoteRepository repository)
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.
-
-