| java.lang.Object | |
| ↳ | org.mule.modules.avalara.util.UsernameTokenProfile |
Simple implementation of request signing using username-token profile
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| SOAPENVNamespace | Namespace for the SOAP Envelope. | ||||||||||
| SOAPENVPrefix | The prefix that will be used for the SOAP Envelope namespace. | ||||||||||
| WSSENamespace | Namespace for the WS-Security SOAP header elements. | ||||||||||
| WSSEPasswordText | The WS-Security URI that specifies that the password will be transmitted as plain text. | ||||||||||
| WSSEPrefix | The prefix that will be used for the WS-Security namespace. | ||||||||||
| password | The password that will be sent in the WS-Security header on the SOAP request message. | ||||||||||
| username | The user name that will be sent in the WS-Security header on the SOAP request message. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a UsernameTokenProfile handler and initialises the member variables.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns null as this handler doesn't process any Headers, it just adds one.
| |||||||||||
Returns true, no action is taken for faults messages.
| |||||||||||
Adds WS-Security header to request messages.
| |||||||||||
This method created an instance of the UsernameTokenProfile class and adds it as
a handler to the bindingProvider supplied.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
javax.xml.ws.handler.Handler
| |||||||||||
From interface
javax.xml.ws.handler.soap.SOAPHandler
| |||||||||||
Namespace for the SOAP Envelope.
The prefix that will be used for the SOAP Envelope namespace.
Namespace for the WS-Security SOAP header elements.
The WS-Security URI that specifies that the password will be transmitted as plain text.
The prefix that will be used for the WS-Security namespace.
The password that will be sent in the WS-Security header on the SOAP request message.
The user name that will be sent in the WS-Security header on the SOAP request message. This is of the form systemid@tenant.
Creates a UsernameTokenProfile handler and initialises the member variables. In most cases, the sign static method should be used instead.
| username | The id and tenant name for the user. This is of the form systemid@tenant. |
|---|---|
| password | The password for the system user. |
| messageContext |
|---|
Returns null as this handler doesn't process any Headers, it just adds one.
Returns true, no action is taken for faults messages.
| smc |
|---|
Adds WS-Security header to request messages.
| smc |
|---|
This method created an instance of the UsernameTokenProfile class and adds it as a handler to the bindingProvider supplied.
| bindingProvider | The client stub to which the handler will be added. The most convenient way to obtain the required bindingProvvider is to call one of the getPort methods on the Service class for the Web service and then cast the returned object to a BindingProvider. |
|---|---|
| username | The id and tenant name for the user. This is of the form systemid@tenant. |
| password | The password for the system user. |