Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client.jaxrs.spi.auth
Class BasicAuthInterceptor

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.spi.auth.BasicAuthInterceptor
All Implemented Interfaces:
RequestInterceptor

public class BasicAuthInterceptor
extends Object
implements RequestInterceptor

Inject the basic authentication header in the request.

Author:
matic

Constructor Summary
BasicAuthInterceptor(String username, String password)
           
 
Method Summary
 void processRequest(Request request, Connector connector)
           
 void setAuth(String username, String password)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicAuthInterceptor

public BasicAuthInterceptor(String username,
                            String password)
Method Detail

setAuth

public void setAuth(String username,
                    String password)

processRequest

public void processRequest(Request request,
                           Connector connector)
Specified by:
processRequest in interface RequestInterceptor

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.