com.paypal.base.soap
Class CertificateSOAPHeaderAuthStrategy
java.lang.Object
com.paypal.base.soap.CertificateSOAPHeaderAuthStrategy
- All Implemented Interfaces:
- AuthenticationStrategy<String,CertificateCredential>
public class CertificateSOAPHeaderAuthStrategy
- extends Object
- implements AuthenticationStrategy<String,CertificateCredential>
CertificateSOAPHeaderAuthStrategy is an implementation of
AuthenticationStrategy which acts on CertificateCredential
and retrieves them as SOAP headers
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CertificateSOAPHeaderAuthStrategy
public CertificateSOAPHeaderAuthStrategy()
getThirdPartyAuthorization
public ThirdPartyAuthorization getThirdPartyAuthorization()
- Returns:
- the thirdPartyAuthorization
setThirdPartyAuthorization
public void setThirdPartyAuthorization(ThirdPartyAuthorization thirdPartyAuthorization)
- Parameters:
thirdPartyAuthorization - the thirdPartyAuthorization to set
generateHeaderStrategy
public String generateHeaderStrategy(CertificateCredential credential)
- Description copied from interface:
AuthenticationStrategy
- Generates Headers
ICredential as any type as chosen by the
implementation
- Specified by:
generateHeaderStrategy in interface AuthenticationStrategy<String,CertificateCredential>
- Parameters:
credential - ICredential instance
- Returns:
- T
Copyright © 2015. All Rights Reserved.