public class PortalSSOAuthInterceptor extends RequestInterceptor
| Modifier and Type | Field and Description | 
|---|---|
protected static Random | 
RANDOM  | 
protected String | 
secret  | 
protected String | 
username  | 
| Constructor and Description | 
|---|
PortalSSOAuthInterceptor(String secretKey,
                        String userName)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected Map<String,String> | 
computeHeaders()  | 
com.sun.jersey.api.client.ClientResponse | 
handle(com.sun.jersey.api.client.ClientRequest cr)  | 
void | 
processRequest(Request request,
              Connector connector)  | 
public PortalSSOAuthInterceptor(String secretKey, String userName)
public void processRequest(Request request, Connector connector)
processRequest in class RequestInterceptorprotected Map<String,String> computeHeaders()
public com.sun.jersey.api.client.ClientResponse handle(com.sun.jersey.api.client.ClientRequest cr) throws com.sun.jersey.api.client.ClientHandlerException
handle in interface com.sun.jersey.api.client.ClientHandlerhandle in class RequestInterceptorcom.sun.jersey.api.client.ClientHandlerExceptionCopyright © 2019 Nuxeo. All rights reserved.