org.apache.http.impl.auth.win
Class WindowsCredentialsProvider
java.lang.Object
org.apache.http.impl.auth.win.WindowsCredentialsProvider
- All Implemented Interfaces:
- CredentialsProvider
@Contract(threading=SAFE)
public class WindowsCredentialsProvider
- extends Object
- implements CredentialsProvider
CredentialsProvider
implementation that always returns
CurrentWindowsCredentials
instance to NTLM
and SPNego authentication challenges.
EXPERIMENTAL
- Since:
- 4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WindowsCredentialsProvider
public WindowsCredentialsProvider(CredentialsProvider provider)
getCredentials
public Credentials getCredentials(AuthScope authscope)
- Specified by:
getCredentials
in interface CredentialsProvider
setCredentials
public void setCredentials(AuthScope authscope,
Credentials credentials)
- Specified by:
setCredentials
in interface CredentialsProvider
clear
public void clear()
- Specified by:
clear
in interface CredentialsProvider
Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.