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