com.sun.jersey.client.apache.config
Class DefaultCredentialsProvider
java.lang.Object
com.sun.jersey.client.apache.config.DefaultCredentialsProvider
- All Implemented Interfaces:
- org.apache.commons.httpclient.auth.CredentialsProvider
public class DefaultCredentialsProvider
- extends java.lang.Object
- implements org.apache.commons.httpclient.auth.CredentialsProvider
A simple interactive credentials provider using Swing dialogs to prompt
the user for a user name and password.
- Author:
- jorgeluisw@mac.com
Fields inherited from interface org.apache.commons.httpclient.auth.CredentialsProvider |
PROVIDER |
Method Summary |
org.apache.commons.httpclient.Credentials |
getCredentials(org.apache.commons.httpclient.auth.AuthScheme scheme,
java.lang.String host,
int port,
boolean proxy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCredentialsProvider
public DefaultCredentialsProvider()
getCredentials
public org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme scheme,
java.lang.String host,
int port,
boolean proxy)
throws org.apache.commons.httpclient.auth.CredentialsNotAvailableException
- Specified by:
getCredentials
in interface org.apache.commons.httpclient.auth.CredentialsProvider
- Throws:
org.apache.commons.httpclient.auth.CredentialsNotAvailableException
Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.