@Contract(threading=SAFE) public class WindowsCredentialsProvider extends Object implements CredentialsProvider
CredentialsProvider
implementation that always returns
CurrentWindowsCredentials
instance to NTLM
and SPNego authentication challenges.
EXPERIMENTAL
Constructor and Description |
---|
WindowsCredentialsProvider(CredentialsProvider provider) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Credentials |
getCredentials(AuthScope authscope) |
void |
setCredentials(AuthScope authscope,
Credentials credentials) |
public WindowsCredentialsProvider(CredentialsProvider provider)
public Credentials getCredentials(AuthScope authscope)
getCredentials
in interface CredentialsProvider
public void setCredentials(AuthScope authscope, Credentials credentials)
setCredentials
in interface CredentialsProvider
public void clear()
clear
in interface CredentialsProvider
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.