Package org.apache.hc.client5.http.auth
Class KerberosConfig
- java.lang.Object
-
- org.apache.hc.client5.http.auth.KerberosConfig
-
- All Implemented Interfaces:
java.lang.Cloneable
@Contract(threading=IMMUTABLE) public class KerberosConfig extends java.lang.Object implements java.lang.CloneableImmutable class encapsulating Kerberos configuration options.- Since:
- 4.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKerberosConfig.Builderstatic classKerberosConfig.Option
-
Field Summary
Fields Modifier and Type Field Description static KerberosConfigDEFAULTprivate KerberosConfig.OptionrequestDelegCredsprivate KerberosConfig.OptionstripPortprivate KerberosConfig.OptionuseCanonicalHostname
-
Constructor Summary
Constructors Modifier Constructor Description protectedKerberosConfig()Intended for CDI compatibility(package private)KerberosConfig(KerberosConfig.Option stripPort, KerberosConfig.Option useCanonicalHostname, KerberosConfig.Option requestDelegCreds)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KerberosConfigclone()static KerberosConfig.Buildercopy(KerberosConfig config)static KerberosConfig.Buildercustom()KerberosConfig.OptiongetRequestDelegCreds()KerberosConfig.OptiongetStripPort()KerberosConfig.OptiongetUseCanonicalHostname()java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final KerberosConfig DEFAULT
-
stripPort
private final KerberosConfig.Option stripPort
-
useCanonicalHostname
private final KerberosConfig.Option useCanonicalHostname
-
requestDelegCreds
private final KerberosConfig.Option requestDelegCreds
-
-
Constructor Detail
-
KerberosConfig
protected KerberosConfig()
Intended for CDI compatibility
-
KerberosConfig
KerberosConfig(KerberosConfig.Option stripPort, KerberosConfig.Option useCanonicalHostname, KerberosConfig.Option requestDelegCreds)
-
-
Method Detail
-
getStripPort
public KerberosConfig.Option getStripPort()
-
getUseCanonicalHostname
public KerberosConfig.Option getUseCanonicalHostname()
-
getRequestDelegCreds
public KerberosConfig.Option getRequestDelegCreds()
-
clone
protected KerberosConfig clone() throws java.lang.CloneNotSupportedException
- Overrides:
clonein classjava.lang.Object- Throws:
java.lang.CloneNotSupportedException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
custom
public static KerberosConfig.Builder custom()
-
copy
public static KerberosConfig.Builder copy(KerberosConfig config)
-
-