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 AuthenticationSelectorINSTANCE
-
Constructor Summary
Constructors Constructor Description NullAuthenticationSelector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationgetAuthentication(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:AuthenticationSelectorSelects authentication for the specified remote repository.- Specified by:
getAuthenticationin interfaceAuthenticationSelector- Parameters:
repository- The repository for which to select authentication, must not benull.- Returns:
- The selected authentication or
nullif none.
-
-