This is the first task of the use case. This is a use case to demonstrate the use of the command-line interface where in you want to deploy the User Name Token Authentication governance control.
Procedure
Navigate to
<TIBCO_HOME>/ogp/1.2/samples/UsernameTokenAuthentication and open the data file that corresponds to User Name Token Authentication.
Under the element,
<rule:StandaloneRule>, enter the appropriate values for the
<name>,
<description>, and
<template> parameters. In this case, you will be creating a User Name Token Authentication governance control.
<description>Rule created via CLI</description>
<name>UsernameTokenAuthenicationCLI-WSSSignature</name>
<template localPart="UsernameTokenAuthentication" namespace="http://xsd.tns.tibco.com/governance/rule/template/2010"/> <templateVersion>1.0.0</templateVersion>
Under the parameter group, AuthenticationByJAAS, provide values for the security token, type of the login module, and name of the resource instance. The following code snippet serves as an example: