Package org.apache.http.auth
Class KerberosCredentials
- java.lang.Object
-
- org.apache.http.auth.KerberosCredentials
-
- All Implemented Interfaces:
java.io.Serializable
,Credentials
@Contract(threading=IMMUTABLE) public class KerberosCredentials extends java.lang.Object implements Credentials, java.io.Serializable
Credentials
implementation based on GSSCredential for Kerberos Authentication.- Since:
- 4.4
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KerberosCredentials(org.ietf.jgss.GSSCredential gssCredential)
Constructor with GSSCredential argument
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.ietf.jgss.GSSCredential
getGSSCredential()
java.lang.String
getPassword()
java.security.Principal
getUserPrincipal()
-
-
-
Method Detail
-
getGSSCredential
public org.ietf.jgss.GSSCredential getGSSCredential()
-
getUserPrincipal
public java.security.Principal getUserPrincipal()
- Specified by:
getUserPrincipal
in interfaceCredentials
-
getPassword
public java.lang.String getPassword()
- Specified by:
getPassword
in interfaceCredentials
-
-