Class Authentication.HeaderInfo

  • Enclosing interface:
    Authentication

    @Deprecated(since="2021-05-27")
    public static class Authentication.HeaderInfo
    extends Object
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Structure holding information about the WWW-Authenticate (or Proxy-Authenticate) header.
    • Method Detail

      • getType

        public String getType()
        Deprecated.
        Returns:
        the authentication type (for example "Basic" or "Digest")
      • getRealm

        public String getRealm()
        Deprecated.
        Returns:
        the realm name or null if there is no realm parameter
      • getBase64

        public String getBase64()
        Deprecated.
        Returns:
        the base64 content as a string if it exists otherwise null
      • getParameters

        public Map<String,​String> getParameters()
        Deprecated.
        Returns:
        additional authentication parameters
      • getParameter

        public String getParameter​(String paramName)
        Deprecated.
        Returns:
        specified authentication parameter or null if does not exist
      • getHeader

        public HttpHeader getHeader()
        Deprecated.
        Returns:
        the Authorization (or Proxy-Authorization) header