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

public Interface Credentials

Known Direct Implementers
org.apache.hc.client5.http.auth.KerberosCredentials, org.apache.hc.client5.http.auth.NTCredentials, org.apache.hc.client5.http.auth.UsernamePasswordCredentials, org.apache.hc.client5.http.auth.BearerToken
Imports
java.security.Principal

This interface represents a set of credentials consisting of a security principal and a secret (password) that can be used to establish user identity
Since
4.0

Method Summary

Modifier and TypeMethod and Description
public char[]
getPassword()

Deprecated Use specific credentials class that represent a username / password set of a security token.
public Principal

Method Detail

getPasswordback to summary
public char[] getPassword()

Deprecated

Use specific credentials class that represent a username / password set of a security token.

Annotations
@Deprecated
getUserPrincipalback to summary
public Principal getUserPrincipal()