public class BasicAuthCredentials
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.servicemix.expression.Expression |
domain |
protected org.apache.servicemix.expression.Expression |
host |
protected org.apache.servicemix.expression.Expression |
password |
protected org.apache.servicemix.expression.Expression |
username |
| Constructor and Description |
|---|
BasicAuthCredentials() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyCredentials(org.apache.commons.httpclient.HttpClient client,
javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage message,
org.apache.commons.httpclient.HostConfiguration hostConfig)
Applies this authentication to the given method.
|
void |
applyProxyCredentials(org.apache.commons.httpclient.HttpClient client,
javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage message)
Applies this authentication to the given method.
|
org.apache.servicemix.expression.Expression |
getDomain()
Returns the domain for NTLM authentication.
|
org.apache.servicemix.expression.Expression |
getHost()
Returns the host for NTLM authentication.
|
org.apache.servicemix.expression.Expression |
getPassword()
Returns the password for authentication.
|
org.apache.servicemix.expression.Expression |
getUsername()
Returns the username for authentication.
|
void |
setDomain(org.apache.servicemix.expression.Expression domain)
Sets the domain to use for NTLM authentication.
|
void |
setHost(org.apache.servicemix.expression.Expression host)
Sets the host to use for NTLM authentication.
|
void |
setPassword(org.apache.servicemix.expression.Expression password)
Sets the password to use for authentication.
|
void |
setUsername(org.apache.servicemix.expression.Expression username)
Sets the username to use for authentocation.
|
protected org.apache.servicemix.expression.Expression username
protected org.apache.servicemix.expression.Expression password
protected org.apache.servicemix.expression.Expression host
protected org.apache.servicemix.expression.Expression domain
public org.apache.servicemix.expression.Expression getUsername()
Expression containing the usernamepublic void setUsername(org.apache.servicemix.expression.Expression username)
username - am Expression containing the username.public org.apache.servicemix.expression.Expression getPassword()
Expression containing the passwordpublic void setPassword(org.apache.servicemix.expression.Expression password)
password - an Expression containing the password.public org.apache.servicemix.expression.Expression getDomain()
Expression containing the NTLM domain.public void setDomain(org.apache.servicemix.expression.Expression domain)
domain - an Expression containing the NTLM domain.public org.apache.servicemix.expression.Expression getHost()
Expression containing the NTLM host.public void setHost(org.apache.servicemix.expression.Expression host)
host - an Expression containing the NTLM host.public void applyCredentials(org.apache.commons.httpclient.HttpClient client,
javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage message,
org.apache.commons.httpclient.HostConfiguration hostConfig)
throws javax.jbi.messaging.MessagingException
client - the client on which to set the authentication informationexchange - the message exchange to be used for evaluating the expressionmessage - the normalized message to be used for evaluating the expressionhostConfig - optional but if set the AuthScope is bind to that host and port from that hostConfigjavax.jbi.messaging.MessagingException - if the correct value for username/password cannot be determined when using an expressionpublic void applyProxyCredentials(org.apache.commons.httpclient.HttpClient client,
javax.jbi.messaging.MessageExchange exchange,
javax.jbi.messaging.NormalizedMessage message)
throws javax.jbi.messaging.MessagingException
client - the client on which to set the authentication informationexchange - the message exchange to be used for evaluating the expressionmessage - the normalized message to be used for evaluating the expressionjavax.jbi.messaging.MessagingException - if the correct value for user name/password cannot be determined when using an expressionCopyright © 2005-2014 FuseSource. All Rights Reserved.