In order to configure CA IM (Identity Manager) Workpoint Designer for the vApp to use EJB connections please follow the steps below:
Edit the "init.bat" file in the <CA-IM-WORKPOINT>\bin folder
For example:
C:\Program Files\Virtual Appliance Tools\CA-IM_WorkpointDesigner\bin
Locate the JBoss section of the init.bat that matches your version of JBoss--EAP 6.1 or Wildfly 8.2.
Uncomment the lines beginning with
SET EJB_CLASSPATH and SET JAVADPARMS.Be sure that all sections for other application servers are commented.
Copy the following four JAR files from the vApp to <CA-IM-WORKPOINT>\lib
From (vApp):
/opt/CA/wildfly-idm/bin/client/jboss-client.jar/opt/CA/wildfly-idm/modules/system/layers/base/org/jboss/as/naming/main/jboss-as-naming-<version>.jar or wildfly-naming-<version>.jar /opt/CA/wildfly-idm/modules/system/layers/base/org/jboss/msc/main/jboss-msc-<version>.jar/opt/CA/wildfly-idm/jboss-modules.jar To <CA-IM-WORKPOINT>
For example:
C:\Program Files\Virtual Appliance Tools\CA-IM_WorkpointDesigner\libTo connect with EJB you will also need to make sure to have a JBoss\Wildfly application user in place:
Logon to the vApp as Config
execute the following command
sudo /opt/CA/wildfly-idm/bin/add-user.shYou will be prompted for
What type of user do you wish to add?
a) Management User (mgmt-users.properties)
b) Application User (application-users.properties)
(a):
bEnter the details of the new user to add.
Realm (ApplicationRealm) :
Username : imuser
Password : <password>
Note the name and password of the user you created.
When prompted for application group, press enter to accept the default null value []
When asked "Is this new user going to be used for one AS process to connect to another AS process?" Select No as the user information will be inserted in the Domain configuration instead of the standalone configuration.
Once you have created your user, open your workpoint-client.properties file (it is under \C:\Program Files\Virtual Appliance Tools\CA-IM_WorkpointDesigner\conf):
Make sure that "client.connect" is set to EJB
For example
client.connect = EJB
Set the following parameters
java.naming.provider.url=http://<RemoteIP>:8080java.naming.factory.initial=org.jboss.as.naming.InitialContextFactoryjava.naming.factory.url.pkgs=org.jboss.ejb.client.namingremote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=falseremote.connections=defaultremote.connection.default.host=<RemoteIP>remote.connection.default.port=8080remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=falseremote.connection.default.username=<username>remote.connection.default.password=<password1>client.ejbLookupPrefix=ejb:iam_im/iam_im_wpServer/client.ejbLookupSuffix=!<CLASSNAME>You will need to add the lines and set <username> and <password> as per the user created via add-user earlier in this document.
remote.connection.default.username=imuser
remote.connection.default.password=Password1!
After you have made these changes to the workpoint-clinet.proiperties you will need to Restart_IM to initiate the connection settings before starting CA_IM_Workpoint Designer.