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

        @Nullable
        public @Nullable String getPrincipal()
      • getPassword

        @Nullable
        public @Nullable String getPassword()
      • getRealmName

        @Nullable
        public @Nullable String getRealmName()
      • getNonce

        @Nullable
        public @Nullable String getNonce()
      • getAlgorithm

        @Nullable
        public @Nullable String getAlgorithm()
      • getResponse

        @Nullable
        public @Nullable String getResponse()
      • getOpaque

        @Nullable
        public @Nullable String getOpaque()
      • getQop

        @Nullable
        public @Nullable String getQop()
      • getNc

        public String getNc()
      • getCnonce

        @Nullable
        public @Nullable String getCnonce()
      • getUri

        @Nullable
        public @Nullable 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

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

        @Nullable
        public @Nullable String getServicePrincipalName()
      • isUseCanonicalHostname

        public boolean isUseCanonicalHostname()
      • getLoginContextName

        @Nullable
        public @Nullable String getLoginContextName()