org.apache.http.impl.auth.win
Class WindowsCredentialsProvider

java.lang.Object
  extended by 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

Constructor Summary
WindowsCredentialsProvider(CredentialsProvider provider)
           
 
Method Summary
 void clear()
           
 Credentials getCredentials(AuthScope authscope)
           
 void setCredentials(AuthScope authscope, Credentials credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WindowsCredentialsProvider

public WindowsCredentialsProvider(CredentialsProvider provider)
Method Detail

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–2020 The Apache Software Foundation. All rights reserved.