com.paypal.base.soap
Class CertificateSOAPHeaderAuthStrategy

java.lang.Object
  extended by 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


Constructor Summary
CertificateSOAPHeaderAuthStrategy()
           
 
Method Summary
 String generateHeaderStrategy(CertificateCredential credential)
          Generates Headers ICredential as any type as chosen by the implementation
 ThirdPartyAuthorization getThirdPartyAuthorization()
           
 void setThirdPartyAuthorization(ThirdPartyAuthorization thirdPartyAuthorization)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateSOAPHeaderAuthStrategy

public CertificateSOAPHeaderAuthStrategy()
Method Detail

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.