org.eclipse.aether.repository.AuthenticationSelectorpublic final class DefaultAuthenticationSelector extends java.lang.Object implements org.eclipse.aether.repository.AuthenticationSelector
| Constructor | Description |
|---|---|
DefaultAuthenticationSelector() |
| Modifier and Type | Method | Description |
|---|---|---|
DefaultAuthenticationSelector |
add(java.lang.String id,
org.eclipse.aether.repository.Authentication auth) |
Adds the specified authentication info for the given repository identifier.
|
org.eclipse.aether.repository.Authentication |
getAuthentication(org.eclipse.aether.repository.RemoteRepository repository) |
public DefaultAuthenticationSelector()
public DefaultAuthenticationSelector add(java.lang.String id, org.eclipse.aether.repository.Authentication auth)
id - The identifier of the repository to add the authentication for, must not be null.auth - The authentication to add, may be null.null.public org.eclipse.aether.repository.Authentication getAuthentication(org.eclipse.aether.repository.RemoteRepository repository)
getAuthentication in interface org.eclipse.aether.repository.AuthenticationSelector