Modifying a single sign-on configuration
Modify a single sign-on configuration of the User Management Service (UMS).
- If you want to modify an IBM® Business
Automation Workflow single
sign-on configuration, you must set up the environment variables that
points to IBM Business
Automation Workflow installation
directory:
- Open a command prompt and navigate to the following directory:
- Linux: /opt/IBM/WebSphere/AppServer/profiles/profile_name/bin
- Windows: drive:\Program Files\IBM\WebSphere\AppServer\profiles\profile_name\bin
Where profile_name is the profile name of the Deployment Manager (typically, this is
Dmgr01) and drive: is the system drive on which the file directory is stored. For example:C:orD:. - Execute the following script:
- Linux:
./setupCmdLine.sh - Windows:
setupCmdLine.bat
- Linux:
- Open a command prompt and navigate to the following directory:
- Edit the properties file for configuration that you want to modify:
- For an IBM Business Automation Workflow or Process Portal configuration
- Reuse the connectToUms-workflow.properties file
that was edited in the add scenario and modify the parameters that
have changed. Important: If you connected your IBM Business Automation Workflow system to User Management 1.0.0, you do not yet have a connectToUms-workflow.properties file. Use the template from wlp/ibmUserManagement/extension/configTemplates/workflow/connectToUms-workflow.zip and adapt the properties matching the connectToUms.jy script that was executed at the time of connecting.
- For a Process Federation Server configuration
- Reuse the connectToUms-PFS.properties file that was edited in the add scenario and modify the parameters that have changed.
- Run
connectToUms.batorconnectToUms.shto execute the parameters of your customized properties file.For example:- For an IBM Business Automation Workflow or Process Portal configuration
- Enter the
command:
connectToUms.bat modify -username <user name> -password <password> -ums_username <User Management admin user> -ums_password <User Management admin user password> - For a Process Federation Server configuration
-
- Enter the
command:
connectToUms.bat modify -ums_username <User Management admin user> -ums_password <User Management admin user password> - If the modified parameters affect values that were entered into the Process Federation Server
server.xmlfile from the wlp/ibmUserManagement/extension/configTemplates/pfs/PFS-template-server.xml file, you must edit the changed values into theserver.xmlfile. - If the modified parameter values affect the server certificates in the truststore, for example, if a different User Management Service server is used, Add the new User Management Service server certificate to the Process Federation Server truststore by using the standard IBM WebSphere® Application Server Liberty procedure. For more information, see Adding trusted certificates in Liberty.
- For an environment with multiple User Management Service servers behind a web server set the value for the
attribute
issuerIdentifieron theopenidConnectClientconfiguration element in the server.xml file. For example:
This value must be identical with the<openidConnectClient id="umsClient" issuerIdentifier="https://webserverhost/oidc/endpoint/ums" />issuerIdentifierset for the openidConnectProvider configuration element in the User Management Server server.xmlAs part of the OpenID Connect protocol, the User Management Service issues ID tokens in JSON Web Token (JWT) format, as specified in RFC 7519. One of the claims in these tokens is issuer, which is used to identify the entity that issued the token. This step is required because by default, the User Management Service specifies the URL of the server as the issuer, which works for a quick start single server, but doesn't work for multiple servers. For more information, see openidConnectProvider - OpenID Connect Server Provider (openidConnectProvider).
- Enter the
command:
- For UMS version 1.0.0, 1.0.1, and 1.0.3 quick start configurations, you must also modify the client in your User Management Service configuration XML files.
- For an IBM Business Automation Workflow or Process Portal configuration, save and synchronize the configuration and restart your environment. For information about synchronizing, see Synchronizing nodes using the wsadmin scripting tool.