static class DefaultRepositorySystemSession.NullAuthenticationSelector extends java.lang.Object implements AuthenticationSelector
Modifier and Type | Field and Description |
---|---|
static AuthenticationSelector |
INSTANCE |
Constructor and Description |
---|
NullAuthenticationSelector() |
Modifier and Type | Method and Description |
---|---|
Authentication |
getAuthentication(RemoteRepository repository)
Selects authentication for the specified remote repository.
|
public static final AuthenticationSelector INSTANCE
public Authentication getAuthentication(RemoteRepository repository)
AuthenticationSelector
getAuthentication
in interface AuthenticationSelector
repository
- The repository for which to select authentication, must not be null
.null
if none.