Note: | For reasons of legibility some of the examples below contain break lines and might not work when pasted into applications or command line tools. In the parameter descriptions, the data type is listed first, followed by the Java type in parenthesis, for example, “Object (org.apache.axis2.context.MessageContext)”. |
username | String (String) (Required) The value that will be added as the Username element in the token. The default value is: "" |
MessageContext | Object (org.apache.axis2.context.MessageContext) (Required) Mediator will place a MessageContext variable into the pipeline before executing the webMethods IS service call. The default value is: org.apache.axis2.context.MessageContext instance |
password | String (String) (Optional) The password for the token. You must specify password if the passwordType is set to either TEXT or DIGEST. The default value is: "" |
passwordType | String (String) (Optional) Specifies how the password will be added in the token. Specify one of the following values: NONE: The password will not be added. TEXT: The password is added in plain text. DIGEST: The password is added in digested form (as specified in the UsernameToken profile). The default value is: NONE |
addNonce | Boolean (Boolean) (Optional) Specifies whether the Nonce element will be added to the token. The default value is: false |
addCreated | Boolean (Boolean) (Optional) Specifies whether the Created element will be added to the token The default value is: false |
salt | byte[] (byte[]) (Optional) The value for the /wsse11:UsernameToken/wsse:Salt element. Its value is a 128 bit number serialized as xs:base64Binary. The default value is: null |
iteration | int (Integer) (Optional) Indicates the number of times the hashing operation is repeated when deriving the key. It is expressed as a xs:unsignedInteger value. If it is not present, a value of 1000 is used for the iteration count. The default value is: 1000 |
useMac | Boolean (Boolean) (Optional) Indicates if the derived key will be used as a Message Authentication Code (MAC) or as a symmetric key for encryption. The default value is: false |
useBasic AuthCredentials | Boolean (Boolean) (Optional) If this parameter is set to true, Mediator will try to use the username and password from the “Authorization” HTTP header. In this case the ‘username’ and ‘password’ fields need not be specified. The default value is: false |
actor | String (String) (Optional) Indicates the value of the SOAP actor attribute if a new security header is being added to the SOAP request. If the request already has a security header with the actor specified in it, then this value will not overwrite it. The default value is: "" |
mustUnderstand | Boolean (Boolean) (Optional) Specifies whether the security header will have the mustUnderstand attribute set to 0 or 1 (false / true). If the security header already has this attribute set, this value will not overwrite it. The default value is: false |