As of now Workpoint designer which I am using doesn't ask for any kind of authentication. So I was wondering how this authentication process happening. Is there a way we can enable OAuth authentication or AD-based Authentication?
Release : 14.3
Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)
Steps to incorporate authentication for Workpoint Designer:
A sample provided by Workpoint exists in the Tools under Workpoint\src\com\workpoint\sample\security\WpLoginModule.java
You want to ensure that the following users are added into any storage where you perform password verification – <username>/<password>
IDM/password – This is the user from ra.xml under workflow.rar.
Workpoint/workpoint – This user is part of the Workflow schema.
Any user whose work lists you expect to fetch from the IDM UI. This will require some kind of LDAP integration in your Login module.
NOTE: If user authentication is enabled, the Workpoint Client API method ClientContext.open requires a valid user name and password in order to successfully establish a connection to the Workpoint Server. For this reason, all client processes have to be accommodated. In my version of WpLoginModule.java, I simply excluded Superadmin, IDM and Wokpoint users from requiring password checks, by returning true for the login() function:
if ( username.toLowerCase().contains("superadmin") || username.toLowerCase().contains("idm") || username.toLowerCase().contains("workpoint") )
REM Set the WORKPOINT_HOME variable to the Workpoint installation directory.
@echo Classpath set to %WP_CLASSPATH%
@echo Compile com\workpoint\sample\security\WpLoginModule.java
javac -classpath %WP_CLASSPATH% com\workpoint\sample\security\WpLoginModule.java
Place it under bin folder (along with the .java file in package heirarchy) so that it can call init.bat to use its required libraries.
Once compiled, place the .class file including the folder hierarchy in the location specified by the workpoint.classpath.url1 property.
Restart the server, you will be challenged when invoking Designer: