com.paypal.base.soap
Class SignatureSOAPHeaderAuthStrategy

java.lang.Object
  extended by com.paypal.base.soap.SignatureSOAPHeaderAuthStrategy
All Implemented Interfaces:
AuthenticationStrategy<String,SignatureCredential>

public class SignatureSOAPHeaderAuthStrategy
extends Object
implements AuthenticationStrategy<String,SignatureCredential>

SignatureSOAPHeaderAuthStrategy is an implementation of AuthenticationStrategy which acts on SignatureCredential and retrieves them as SOAP headers


Constructor Summary
SignatureSOAPHeaderAuthStrategy()
           
 
Method Summary
 String generateHeaderStrategy(SignatureCredential 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

SignatureSOAPHeaderAuthStrategy

public SignatureSOAPHeaderAuthStrategy()
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(SignatureCredential credential)
Description copied from interface: AuthenticationStrategy
Generates Headers ICredential as any type as chosen by the implementation

Specified by:
generateHeaderStrategy in interface AuthenticationStrategy<String,SignatureCredential>
Parameters:
credential - ICredential instance
Returns:
T


Copyright © 2015. All Rights Reserved.