|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.http.BasicAuthCredentials
public class BasicAuthCredentials
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
BasicAuthCredentials()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public BasicAuthCredentials()
| Method Detail |
|---|
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 hostConfig
javax.jbi.messaging.MessagingException - if the correct value for username/password cannot be determined when using an expression
public 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 expression
javax.jbi.messaging.MessagingException - if the correct value for user name/password cannot be determined when using an expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||