CloudStreams 10.15 | webMethods CloudStreams Documentation | Administering webMethods CloudStreams | Virtual Services | Creating a New Virtual Service (SOAP) | IS Service Constructs | Using the Security API in IS Services | pub.cloudstreams.security.ws.AddX509Token
 
pub.cloudstreams.security.ws.AddX509Token
Adds an X.509 certificate (or certificate chain) as a BinarySecurityToken (BST) element in the outbound SOAP request. This service includes the following input parameters:
Parameter
Data Type
Description
Default Value
MessageContext
Object
Required. Java Type: org.apache.axis2.context. MessageContext. CloudStreams will place a MessageContext parameter into the pipeline before executing the IS service call.
org.apache. axis2.context. MessageContext instance
keystoreFile
String
Required. Java Type: String. The absolute path to a keystore file on the system where CloudStreams is running.
""
keystorePassword
String
Java Type: String. Required. The password for the keystore.
""
keystoreType
String
Java Type: String. The type of keystore represented by the file (can be JKS, JCEKS or PKCS12).
JKS
keyAlias
String
Java Type: String. Required. The key alias whose X509 certificate will be sent in the SOAP request as a BST.
""
useCertificatePath
Boolean
Java Type: Boolean. If set to True, CloudStreams will use the entire certificate chain represented by the key alias instead of just a single certificate.
False
actor
String
Java Type: String. 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 this attribute specified in it, then this value will not overwrite it.
""
mustUnderstand
Boolean
Java Type: Boolean. 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, then this value will not overwrite it.
False