Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.base.soap;
 
 import java.util.Map;
 
CertificateHttpHeaderAuthStrategy is an implementation of AuthenticationStrategy which acts on com.paypal.base.credential.CertificateCredential and retrieves them as HTTP headers
public class CertificateHttpHeaderAuthStrategy extends
CertificateHttpHeaderAuthStrategy

Parameters:
endPointUrl
		super(endPointUrl);
	}

			CertificateCredential credentialTokenAuthorization tokenAuth)
			throws OAuthException {
		Map<StringStringheaders = new HashMap<StringString>();
		String authString = OAuthSignature.getFullAuthString(
				credential.getUserName(), credential.getPassword(),
				tokenAuth.getAccessToken(), tokenAuth.getTokenSecret(),
		return headers;
	}
New to GrepCode? Check out our FAQ X