Class Authentication.HeaderInfo

  • Enclosing interface:
    Authentication

    public static class Authentication.HeaderInfo
    extends Object
    Structure holding information about the WWW-Authenticate (or Proxy-Authenticate) header.
    • Method Detail

      • getType

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

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

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

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

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

        public org.eclipse.jetty.http.HttpHeader getHeader()
        Returns:
        the Authorization (or Proxy-Authorization) header