Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Author: Christopher Dawes (IBM)

v 1.1 - Dec 2018 - Now supports Groups

v 1.0 - Jan 2016


Desired Use Case

...

Installation Instructions
1. Download the extension.  Image RemovedCustomSecuredServices.zip2. Unzip the package.jar

 
32. Place the CustomSecuredServices.jar file in your configured extensions directory.
 
4. Copy 3. A new property can be added to the Builder_config.properties to define the folder used by this extension (hcl.services.secureservices.catalogDirectoryName=SecuredServices). The default is "SecuredServices". Create the folder called "SecuredServices" as a sibling to the extensions directory (for example, opt/ibm/Forms/SecuredServices, c:\IBM\Forms\SecuredServices - the extension automatically picks up the extensions directory if you have redefined its location using the fsp.properties).
 
5. Note that there should be a 4. Copy the whitelist.xml in the "SecuredServices" folder. whitelist.xml
 
65. Add your service XML files into the "SecuredServices" folder.  You can create sub directories if you wish to keep the service files better organized.
 
76. Modify the whitelist.xml:
 
- set the name of the group (<groupName/>) that you want to appear in the FEB UI
- Add each .xml file to the <services> list and define the users that you want to be able to see it:

...

Code Block
languagexml
        <service>
            <!-- should be the name of the groupDirectory name OR the xml file name -->
            <serviceName>My Service  <serviceName>BluePages<Name</serviceName>
			<groups>
				<group>group1</group>
			<groups>
            <users>
                <user>cdawes@ca.ibm.com< <user>user1</user>
                <user>user2</user>
            </users>
        </service>

...

How does this solution work?

More detail to come...This is a Leap extension.  When the service dialog loads, while designing an application, the current user is evaluated and then the list of service descriptions is loaded based on the whitelist.


Troubleshooting

To enable logging for this extension add the trace string "com.ibmhcl.supportservices.examplesSecuredServiceCatalog=finest" to your WAS server where FEB is deployed.  The logging messages will appear in the trace.log within the logs directory for the server.

...