Uses of Class
org.apache.wink.client.handlers.AbstractAuthSecurityHandler

Packages that use AbstractAuthSecurityHandler
org.apache.wink.client.handlers   
 

Uses of AbstractAuthSecurityHandler in org.apache.wink.client.handlers
 

Subclasses of AbstractAuthSecurityHandler in org.apache.wink.client.handlers
 class BasicAuthSecurityHandler
          SecurityHandler for a client to perform http basic auth:

Usage:
ClientConfig config = new ClientConfig();
BasicAuthSecurityHandler basicAuthSecHandler = new BasicAuthSecurityHandler(); basicAuthSecHandler.setUserName("username"); basicAuthSecHandler.setPassword("password"); config.handlers(basicAuthSecurityHandler);
// create the rest client instance
RestClient client = new RestClient(config);
// create the resource instance to interact with Resource
resource = client.resource("https://localhost:8080/path/to/resource");

 class ProxyAuthSecurityHandler
          SecurityHandler for a client to perform http proxy auth:

Usage:
ClientConfig config = new ClientConfig();
ProxyAuthSecurityHandler proxyAuthSecHandler = new ProxyAuthSecurityHandler(); proxyAuthSecHandler.setUserName("username"); proxyAuthSecHandler.setPassword("password"); config.handlers(proxyAuthSecurityHandler);
// create the rest client instance
RestClient client = new RestClient(config);
// create the resource instance to interact with Resource
resource = client.resource("http://localhost:8080/path/to/resource");

 



Copyright © 2009-2010 The Apache Software Foundation. All Rights Reserved.