public final class DefaultAuthenticationSelector extends Object implements org.eclipse.aether.repository.AuthenticationSelector
| Constructor and Description |
|---|
DefaultAuthenticationSelector() |
| Modifier and Type | Method and Description |
|---|---|
DefaultAuthenticationSelector |
add(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 add(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.AuthenticationSelectorCopyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.