public final class ConservativeAuthenticationSelector extends Object implements org.eclipse.aether.repository.AuthenticationSelector
Constructor and Description |
---|
ConservativeAuthenticationSelector(org.eclipse.aether.repository.AuthenticationSelector selector)
Creates a new selector that delegates to the specified selector.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.aether.repository.Authentication |
getAuthentication(org.eclipse.aether.repository.RemoteRepository repository) |
public ConservativeAuthenticationSelector(org.eclipse.aether.repository.AuthenticationSelector selector)
selector
- The selector to delegate to in case a repository has no authentication yet, must not be
null
.public org.eclipse.aether.repository.Authentication getAuthentication(org.eclipse.aether.repository.RemoteRepository repository)
getAuthentication
in interface org.eclipse.aether.repository.AuthenticationSelector
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.