Class Realm


  • public class Realm
    extends Object
    This class is required when authentication is needed. The class support BASIC, DIGEST, NTLM, SPNEGO and KERBEROS.
    • Method Detail

      • getPrincipal

        public String getPrincipal()
      • getPassword

        public String getPassword()
      • getRealmName

        public String getRealmName()
      • getNonce

        public String getNonce()
      • getAlgorithm

        public String getAlgorithm()
      • getResponse

        public String getResponse()
      • getOpaque

        public String getOpaque()
      • getQop

        public String getQop()
      • getNc

        public String getNc()
      • getCnonce

        public String getCnonce()
      • getUri

        public Uri getUri()
      • getCharset

        public Charset getCharset()
      • isUsePreemptiveAuth

        public boolean isUsePreemptiveAuth()
        Return true is preemptive authentication is enabled
        Returns:
        true is preemptive authentication is enabled
      • getNtlmDomain

        public String getNtlmDomain()
        Return the NTLM domain to use. This value should map the JDK
        Returns:
        the NTLM domain
      • getNtlmHost

        public String getNtlmHost()
        Return the NTLM host.
        Returns:
        the NTLM host
      • isUseAbsoluteURI

        public boolean isUseAbsoluteURI()
      • isOmitQuery

        public boolean isOmitQuery()
      • getCustomLoginConfig

        public Map<String,​String> getCustomLoginConfig()
      • getServicePrincipalName

        public String getServicePrincipalName()
      • isUseCanonicalHostname

        public boolean isUseCanonicalHostname()
      • getLoginContextName

        public String getLoginContextName()