Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

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, 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`

Constructor Detail

### DefaultCredentialsProvider

    public DefaultCredentialsProvider()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 Oracle Corporation. All Rights Reserved.