com.sun.jersey.client.apache.config
Class DefaultCredentialsProvider

java.lang.Object
  extended by com.sun.jersey.client.apache.config.DefaultCredentialsProvider
All Implemented Interfaces:
org.apache.commons.httpclient.auth.CredentialsProvider

public class DefaultCredentialsProvider
extends 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

Field Summary
 
Fields inherited from interface org.apache.commons.httpclient.auth.CredentialsProvider
PROVIDER
 
Constructor Summary
DefaultCredentialsProvider()
           
 
Method Summary
 org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme scheme, String host, int port, boolean proxy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCredentialsProvider

public DefaultCredentialsProvider()
Method Detail

getCredentials

public org.apache.commons.httpclient.Credentials getCredentials(org.apache.commons.httpclient.auth.AuthScheme scheme,
                                                                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 © 2013 Oracle Corporation. All Rights Reserved.