org.eclipse.aether.repository

## Interface AuthenticationSelector

- All Known Implementing Classes:
    ConservativeAuthenticationSelector, DefaultAuthenticationSelector

      public interface AuthenticationSelector

  Selects authentication for a given remote repository.
  See Also:
    `RepositorySystemSession.getAuthenticationSelector()`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2012 The Eclipse Foundation. All Rights Reserved.