KerberosCredentials (Apache HttpClient 4.5.13 API)
Date: 2020-10-03

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.http.auth
Class KerberosCredentials

    java.lang.Object
      org.apache.http.auth.KerberosCredentials

All Implemented Interfaces:
  Serializable, Credentials

    @Contract(threading=IMMUTABLE)
    public class KerberosCredentials

extends Object
implements Credentials, Serializable

`Credentials` implementation based on GSSCredential for Kerberos Authentication.

Since:
  4.4
See Also:
  Serialized Form

Constructor Summary
`KerberosCredentials(GSSCredential gssCredential)` Constructor with GSSCredential argument

Method Summary
`GSSCredential` | `getGSSCredential()`
`String` | `getPassword()`
`Principal` | `getUserPrincipal()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### KerberosCredentials

    public KerberosCredentials(GSSCredential gssCredential)

  Constructor with GSSCredential argument

  Parameters:
    `gssCredential` -

Method Detail

### getGSSCredential

    public GSSCredential getGSSCredential()

### getUserPrincipal

    public Principal getUserPrincipal()

  Specified by:
    `getUserPrincipal` in interface `Credentials`

### getPassword

    public String getPassword()

  Specified by:
    `getPassword` in interface `Credentials`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.