Class HttpAuthentication.Challenge

  • Enclosing interface:
    HttpAuthentication

    public static class HttpAuthentication.Challenge
    extends java.lang.Object
    Properties of an HTTP authentication challenge.
    • Constructor Summary

      Constructors 
      Constructor Description
      Challenge​(java.lang.String scheme, java.lang.String realm)
      Constructs an instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRealm()
      The authentication realm, if any.
      java.lang.String getScheme()
      The authentication scheme, such as "basic".
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Challenge

        public Challenge​(java.lang.String scheme,
                         java.lang.String realm)
        Constructs an instance.
        Parameters:
        scheme - the authentication scheme
        realm - the authentication realm or null
    • Method Detail

      • getScheme

        public java.lang.String getScheme()
        The authentication scheme, such as "basic".
        Returns:
        the authentication scheme
      • getRealm

        public java.lang.String getRealm()
        The authentication realm, if any.
        Returns:
        the authentication realm or null