Package org.eclipse.aether
Class DefaultRepositorySystemSession.NullAuthenticationSelector
java.lang.Object
org.eclipse.aether.DefaultRepositorySystemSession.NullAuthenticationSelector
- All Implemented Interfaces:
AuthenticationSelector
- Enclosing class:
- DefaultRepositorySystemSession
static class DefaultRepositorySystemSession.NullAuthenticationSelector
extends Object
implements AuthenticationSelector
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAuthentication
(RemoteRepository repository) Selects authentication for the specified remote repository.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NullAuthenticationSelector
NullAuthenticationSelector()
-
-
Method Details
-
getAuthentication
Description copied from interface:AuthenticationSelector
Selects authentication for the specified remote repository.- Specified by:
getAuthentication
in interfaceAuthenticationSelector
- Parameters:
repository
- The repository for which to select authentication, must not benull
.- Returns:
- The selected authentication or
null
if none.
-