Schnittstelle HttpHeaderCredentials

Alle Superschnittstellen:
Credentials

public interface HttpHeaderCredentials extends Credentials
Credentials that can be used to login to a protected server, e.g. a remote repository by using HTTP header. The properties used for creating credentials from a property are repoAuthHeaderName and repoAuthHeaderValue, where repo is the identity of the repository.
Seit:
4.10
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Returns the header name to use when authenticating.
    Returns the header value to use when authenticating.
    void
    Sets the header name to use when authenticating.
    void
    Sets the header value to use when authenticating.
  • Methodendetails

    • getName

      @Nullable String getName()
      Returns the header name to use when authenticating.
      Gibt zurück:
      The header name. May be null.
    • setName

      void setName(@Nullable String name)
      Sets the header name to use when authenticating.
      Parameter:
      name - The header name. May be null.
    • getValue

      @Nullable String getValue()
      Returns the header value to use when authenticating.
      Gibt zurück:
      The header value. May be null.
    • setValue

      void setValue(@Nullable String value)
      Sets the header value to use when authenticating.
      Parameter:
      value - The header value. May be null.