public class AuthorizationHeaderHandler extends Object
Authorization headers that can be set on the SOAP
client.| Constructor and Description |
|---|
AuthorizationHeaderHandler(SoapClientHandlerInterface soapClientHandler,
AuthorizationHeaderProvider authorizationHeaderProvider)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setAuthorization(Object soapClient,
AdsSession adsSession)
Sets the authorization header created from the session on the soap client.
|
@Inject public AuthorizationHeaderHandler(SoapClientHandlerInterface soapClientHandler, AuthorizationHeaderProvider authorizationHeaderProvider)
soapClientHandler - the SOAP client handlerauthorizationHeaderProvider - the authorization header providerpublic void setAuthorization(Object soapClient, AdsSession adsSession) throws AuthenticationException
soapClient - the SOAP client to set the HTTP header onadsSession - the sessionAuthenticationException - if the authorization header could not be
createdCopyright © 2015. All Rights Reserved.