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 java.lang.Object implements AuthenticationSelector
-
-
Field Summary
Fields Modifier and Type Field Description static AuthenticationSelector
INSTANCE
-
Constructor Summary
Constructors Constructor Description NullAuthenticationSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Authentication
getAuthentication(RemoteRepository repository)
Selects authentication for the specified remote repository.
-
-
-
Field Detail
-
INSTANCE
public static final AuthenticationSelector INSTANCE
-
-
Method Detail
-
getAuthentication
public Authentication getAuthentication(RemoteRepository repository)
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.
-
-