Top Description Fields Constructors Methods
org.apache.hc.client5.http.auth

public Class KerberosCredentials

extends Object
implements Credentials, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.apache.hc.client5.http.auth.Credentials
Annotations
@Deprecated
@Contract
threading:IMMUTABLE
Imports
java.io.Serializable, java.security.Principal, org.apache.hc.core5.annotation.Contract, .ThreadingBehavior, org.ietf.jgss.GSSCredential

Deprecated

Do not use. The GGS based experimental authentication schemes are no longer supported. Consider using Basic or Bearer authentication with TLS instead.

Kerberos specific Credentials representation based on GSSCredential.
Since
4.4
See Also
UsernamePasswordCredentials, BearerToken

Field Summary

Modifier and TypeField and Description
private final GSSCredential
gssCredential

GSSCredential

private static final long

Constructor Summary

AccessConstructor and Description
public
KerberosCredentials(final GSSCredential gssCredential)

Constructor with GSSCredential argument

Method Summary

Modifier and TypeMethod and Description
public GSSCredential
public char[]
public Principal
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

gssCredentialback to summary
private final GSSCredential gssCredential

GSSCredential

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

KerberosCredentialsback to summary
public KerberosCredentials(final GSSCredential gssCredential)

Constructor with GSSCredential argument

Method Detail

getGSSCredentialback to summary
public GSSCredential getGSSCredential()
getPasswordback to summary
public char[] getPassword()

Implements org.apache.hc.client5.http.auth.Credentials.getPassword.

Annotations
@Override
getUserPrincipalback to summary
public Principal getUserPrincipal()

Implements org.apache.hc.client5.http.auth.Credentials.getUserPrincipal.

Annotations
@Override