public class SpnegoHandler extends Object implements okhttp3.Interceptor, okhttp3.Authenticator
| Constructor and Description |
|---|
SpnegoHandler(String remoteServiceName,
boolean useCanonicalHostname,
Optional<String> principal,
Optional<File> kerberosConfig,
Optional<File> keytab,
Optional<File> credentialCache) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Request |
authenticate(okhttp3.Route route,
okhttp3.Response response) |
okhttp3.Response |
intercept(okhttp3.Interceptor.Chain chain) |
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain)
throws IOException
intercept in interface okhttp3.InterceptorIOExceptionpublic okhttp3.Request authenticate(okhttp3.Route route,
okhttp3.Response response)
authenticate in interface okhttp3.AuthenticatorCopyright © 2012–2019. All rights reserved.