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)
Selects authentication for the specified remote 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)
AuthenticationSelectorgetAuthentication in interface AuthenticationSelectorrepository - The repository for which to select authentication, must not be null.null if none.Copyright © 2010-2014 The Eclipse Foundation. All Rights Reserved.