Class JreProxySelector.JreProxyAuthentication

java.lang.Object
org.eclipse.aether.util.repository.JreProxySelector.JreProxyAuthentication
All Implemented Interfaces:
Authentication
Enclosing class:
JreProxySelector

private static final class JreProxySelector.JreProxyAuthentication extends Object implements Authentication
  • Field Details

  • Constructor Details

    • JreProxyAuthentication

      private JreProxyAuthentication()
  • Method Details

    • fill

      public void fill(AuthenticationContext context, String key, Map<String,String> data)
      Description copied from interface: Authentication
      Fills the given authentication context with the data from this authentication callback. To do so, implementors have to call AuthenticationContext.put(String, Object).

      The key parameter supplied to this method acts merely as a hint for interactive callbacks that want to prompt the user for only that authentication data which is required. Implementations are free to ignore this parameter and put all the data they have into the authentication context at once.
      Specified by:
      fill in interface Authentication
      Parameters:
      context - The authentication context to populate, must not be null.
      key - The key denoting a specific piece of authentication data that is being requested for a network operation, may be null.
      data - Any (read-only) extra data in form of key value pairs that might be useful when getting the authentication data, may be null.
    • digest

      public void digest(AuthenticationDigest digest)
      Description copied from interface: Authentication
      Updates the given digest with data from this authentication callback. To do so, implementors have to call the update() methods in AuthenticationDigest.
      Specified by:
      digest in interface Authentication
      Parameters:
      digest - The digest to update, must not be null.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object