302198 Rename HttpClient authorization classes to Authentication
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@1250 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
72b546abe6
commit
e4ba31be97
|
@ -36,6 +36,7 @@ import javax.net.ssl.X509TrustManager;
|
||||||
|
|
||||||
import org.eclipse.jetty.client.security.Authentication;
|
import org.eclipse.jetty.client.security.Authentication;
|
||||||
import org.eclipse.jetty.client.security.RealmResolver;
|
import org.eclipse.jetty.client.security.RealmResolver;
|
||||||
|
import org.eclipse.jetty.client.security.SecurityListener;
|
||||||
import org.eclipse.jetty.http.HttpBuffers;
|
import org.eclipse.jetty.http.HttpBuffers;
|
||||||
import org.eclipse.jetty.http.HttpSchemes;
|
import org.eclipse.jetty.http.HttpSchemes;
|
||||||
import org.eclipse.jetty.http.security.Password;
|
import org.eclipse.jetty.http.security.Password;
|
||||||
|
@ -271,6 +272,12 @@ public class HttpClient extends HttpBuffers implements Attributes
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
|
/** Set a RealmResolver for client Authentication.
|
||||||
|
* If a realmResolver is set, then the HttpDestinations created by
|
||||||
|
* this client will instantiate a {@link SecurityListener} so that
|
||||||
|
* BASIC and DIGEST authentication can be performed.
|
||||||
|
* @param resolver
|
||||||
|
*/
|
||||||
public void setRealmResolver(RealmResolver resolver)
|
public void setRealmResolver(RealmResolver resolver)
|
||||||
{
|
{
|
||||||
_realmResolver = resolver;
|
_realmResolver = resolver;
|
||||||
|
@ -278,7 +285,7 @@ public class HttpClient extends HttpBuffers implements Attributes
|
||||||
|
|
||||||
/* ------------------------------------------------------------ */
|
/* ------------------------------------------------------------ */
|
||||||
/**
|
/**
|
||||||
* returns the SecurityRealmResolver registered with the HttpClient or null
|
* returns the SecurityRealmResolver reg_realmResolveristered with the HttpClient or null
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue