org.sonatype.aether.repository
Interface AuthenticationSelector

All Known Implementing Classes:
ConservativeAuthenticationSelector, DefaultAuthenticationSelector

public interface AuthenticationSelector

Selects authentication for a given remote repository.

Author:
Benjamin Bentmann

Method Summary
 Authentication getAuthentication(RemoteRepository repository)
          Selects authentication for the specified remote repository.
 

Method Detail

getAuthentication

Authentication getAuthentication(RemoteRepository repository)
Selects authentication for the specified remote repository.

Parameters:
repository - The repository for which to select authentication, must not be null.
Returns:
The selected authentication or null if none.


Copyright © 2010-2011 Sonatype, Inc.. All Rights Reserved.