Package org.frankframework.http
Class WebServiceNtlmSender
java.lang.Object
org.frankframework.senders.AbstractSender
org.frankframework.senders.AbstractSenderWithParameters
org.frankframework.http.WebServiceNtlmSender
- All Implemented Interfaces:
FrankElement,HasApplicationContext,HasName,HasPhysicalDestination,IConfigurable,IScopeProvider,ISender,ISenderWithParameters,IWithParameters,NameAware,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware,org.springframework.context.Lifecycle
@DestinationType(HTTP)
@Deprecated(forRemoval=true,
since="8.0")
@ConfigurationWarning("NTLM authentication is unsecure and should be avoided.")
public class WebServiceNtlmSender
extends AbstractSenderWithParameters
implements HasPhysicalDestination
Deprecated, for removal: This API element is subject to removal in a future version.
Sender that sends a message via a WebService based on NTLM authentication.
- Author:
- Peter Leeuwenburgh
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.http.impl.client.DefaultHttpClientDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class org.frankframework.senders.AbstractSenderWithParameters
parameterNamesMustBeUnique, paramListFields inherited from class org.frankframework.senders.AbstractSender
log -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Configure this component.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.getUrl()Deprecated, for removal: This API element is subject to removal in a future version.sendMessage(Message message, PipeLineSession session) Deprecated, for removal: This API element is subject to removal in a future version.Send a message to some destination (as configured in the Sender object).voidsetAuthAlias(String string) Deprecated, for removal: This API element is subject to removal in a future version.alias used to obtain credentials for authentication to hostvoidsetAuthDomain(String string) Deprecated, for removal: This API element is subject to removal in a future version.voidsetContentType(String string) Deprecated, for removal: This API element is subject to removal in a future version.content-type of the requestvoidsetMaxConnections(int i) Deprecated, for removal: This API element is subject to removal in a future version.the maximum number of concurrent connectionsvoidsetPassword(String string) Deprecated, for removal: This API element is subject to removal in a future version.password used to authenticate with the hostvoidsetProxyHost(String string) Deprecated, for removal: This API element is subject to removal in a future version.voidsetProxyPort(int i) Deprecated, for removal: This API element is subject to removal in a future version.voidsetSoapAction(String string) Deprecated, for removal: This API element is subject to removal in a future version.the soapactionuri to be set in the requestheadervoidsetTimeout(int i) Deprecated, for removal: This API element is subject to removal in a future version.timeout in ms of obtaining a connection/result. 0 means no timeoutvoidDeprecated, for removal: This API element is subject to removal in a future version.url or base of url to be usedvoidsetUsername(String string) Deprecated, for removal: This API element is subject to removal in a future version.username used in authentication to hostvoidstart()Deprecated, for removal: This API element is subject to removal in a future version.This method will be called to start the sender.voidstop()Deprecated, for removal: This API element is subject to removal in a future version.Stop/close the sender and deallocate resources.Methods inherited from class org.frankframework.senders.AbstractSenderWithParameters
addParameter, checkStringAttributeOrParameter, consumesSessionVariable, getParameterList, getParameterOverriddenAttributeValue, getParameterOverriddenAttributeValue, getParameterValueListMethods inherited from class org.frankframework.senders.AbstractSender
createBean, getLogPrefix, getName, isRunning, setApplicationContext, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContextMethods inherited from interface org.frankframework.core.FrankElement
addConfigWarningMethods inherited from interface org.frankframework.core.HasApplicationContext
getApplicationContext, getConfigurationClassLoaderMethods inherited from interface org.frankframework.core.ISender
isSynchronous, sendMessageOrThrow
-
Field Details
-
httpClient
protected org.apache.http.impl.client.DefaultHttpClient httpClientDeprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
WebServiceNtlmSender
public WebServiceNtlmSender()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
configure
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:IConfigurableConfigure this component.configure()is called once at startup of the framework in the configure method of the owner of thisIConfigurable. Purpose of this method is to check whether the static configuration of the object is correct. As much as possible class-instantiating should take place in theconfigure(), to improve performance.In the case of a container, this will propagate the configure signal to all components that apply.
- Specified by:
configurein interfaceIConfigurable- Overrides:
configurein classAbstractSenderWithParameters- Throws:
ConfigurationException- in case it was not able to configure the component.
-
start
public void start()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ISenderThis method will be called to start the sender. After this method is called the sendMessage method may be called. Purpose of this method is to reduce creating connections to databases etc. in thesendMessage()method.- Specified by:
startin interfaceISender- Specified by:
startin interfaceorg.springframework.context.Lifecycle- Overrides:
startin classAbstractSender
-
stop
public void stop()Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ISenderStop/close the sender and deallocate resources.- Specified by:
stopin interfaceISender- Specified by:
stopin interfaceorg.springframework.context.Lifecycle- Overrides:
stopin classAbstractSender
-
sendMessage
@Nonnull public SenderResult sendMessage(@Nonnull Message message, @Nonnull PipeLineSession session) throws SenderException, TimeoutException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ISenderSend a message to some destination (as configured in the Sender object). This method may only be called after theconfigure()method is called.The following table shows the difference between synchronous and a-synchronous senders:
synchronous a-synchronous ISender.isSynchronous()returnstruefalsereturn value of sendMessage()isthe reply-message the messageId of the message sent the correlationID specified with sendMessage()may be ignored is sent with the message a {link TimeOutException} may be thrown if a timeout occurs waiting for a reply should not be expected Multiple objects may try to call this method at the same time, from different threads. Implementations of this method should therefore be thread-safe, or
synchronized.- Specified by:
sendMessagein interfaceISender- Throws:
SenderExceptionTimeoutException
-
getPhysicalDestinationName
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getPhysicalDestinationNamein interfaceHasPhysicalDestination
-
setContentType
Deprecated, for removal: This API element is subject to removal in a future version.content-type of the request- Default value
- text/html; charset=utf-8
-
getContentType
Deprecated, for removal: This API element is subject to removal in a future version. -
getUrl
Deprecated, for removal: This API element is subject to removal in a future version. -
setUrl
Deprecated, for removal: This API element is subject to removal in a future version.url or base of url to be used -
getTimeout
public int getTimeout()Deprecated, for removal: This API element is subject to removal in a future version. -
setTimeout
public void setTimeout(int i) Deprecated, for removal: This API element is subject to removal in a future version.timeout in ms of obtaining a connection/result. 0 means no timeout- Default value
- 10000
-
getMaxConnections
public int getMaxConnections()Deprecated, for removal: This API element is subject to removal in a future version. -
setMaxConnections
public void setMaxConnections(int i) Deprecated, for removal: This API element is subject to removal in a future version.the maximum number of concurrent connections- Default value
- 10
-
setAuthAlias
Deprecated, for removal: This API element is subject to removal in a future version.alias used to obtain credentials for authentication to host -
setUsername
Deprecated, for removal: This API element is subject to removal in a future version.username used in authentication to host -
setPassword
Deprecated, for removal: This API element is subject to removal in a future version.password used to authenticate with the host- Default value
-
getAuthDomain
Deprecated, for removal: This API element is subject to removal in a future version. -
setAuthDomain
Deprecated, for removal: This API element is subject to removal in a future version. -
getProxyHost
Deprecated, for removal: This API element is subject to removal in a future version. -
setProxyHost
Deprecated, for removal: This API element is subject to removal in a future version.- Default value
-
getProxyPort
public int getProxyPort()Deprecated, for removal: This API element is subject to removal in a future version. -
setProxyPort
public void setProxyPort(int i) Deprecated, for removal: This API element is subject to removal in a future version.- Default value
- 80
-
getSoapAction
Deprecated, for removal: This API element is subject to removal in a future version. -
setSoapAction
Deprecated, for removal: This API element is subject to removal in a future version.the soapactionuri to be set in the requestheader
-