@Contract(threading=IMMUTABLE) public class KerberosCredentials extends Object implements Credentials, Serializable
Credentials
implementation based on GSSCredential for Kerberos Authentication.Constructor and Description |
---|
KerberosCredentials(GSSCredential gssCredential)
Constructor with GSSCredential argument
|
Modifier and Type | Method and Description |
---|---|
GSSCredential |
getGSSCredential() |
String |
getPassword() |
Principal |
getUserPrincipal() |
public KerberosCredentials(GSSCredential gssCredential)
gssCredential
- public GSSCredential getGSSCredential()
public Principal getUserPrincipal()
getUserPrincipal
in interface Credentials
public String getPassword()
getPassword
in interface Credentials
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.