org.gcube.accounting.security.authn
Class HTTPBasicAuthentication

java.lang.Object
  extended by com.sun.jersey.api.client.filter.ClientFilter
      extended by org.gcube.accounting.security.authn.HTTPBasicAuthentication
All Implemented Interfaces:
com.sun.jersey.api.client.ClientHandler

public class HTTPBasicAuthentication
extends com.sun.jersey.api.client.filter.ClientFilter


Constructor Summary
HTTPBasicAuthentication(String username, String password)
           
HTTPBasicAuthentication(String username, String password, String delegator)
           
 
Method Summary
 String getDelegator()
           
 String getUserName()
           
 String getUserPassword()
           
 com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest cr)
           
 
Methods inherited from class com.sun.jersey.api.client.filter.ClientFilter
getNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPBasicAuthentication

public HTTPBasicAuthentication(String username,
                               String password)

HTTPBasicAuthentication

public HTTPBasicAuthentication(String username,
                               String password,
                               String delegator)
Method Detail

handle

public com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest cr)
                                                throws com.sun.jersey.api.client.ClientHandlerException
Specified by:
handle in interface com.sun.jersey.api.client.ClientHandler
Specified by:
handle in class com.sun.jersey.api.client.filter.ClientFilter
Throws:
com.sun.jersey.api.client.ClientHandlerException

getUserName

public String getUserName()

getUserPassword

public String getUserPassword()

getDelegator

public String getDelegator()


Copyright © 2013. All Rights Reserved.