com.paypal.base.soap
Class SignatureSOAPHeaderAuthStrategy
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureSOAPHeaderAuthStrategy
public SignatureSOAPHeaderAuthStrategy()
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.