Manually integrating Helix SSO with BMC applications
Before you begin
- Manually install Helix SSO.
- Create a system backup. If there is a need to remove the BMC Helix SSO integration from a BMC application, you will need to restore files to their previous state.
To manually integrate BMC Helix SSO with the AR System server rsso-area-plug-in
Make sure the following AREA plug-in settings (<AR>/Conf/ar.cfg) are configured on the AR Server (can be set from the Server Information form > EA tab):
External-Authentication-RPC-Socket: 390695
Authentication-Chaining-Mode: 1
Crossref-Blank-Password: T- Copy rsso.cfg from rsso-area-plugin to <AR>/Conf.
In rsso.cfg, adjust the value of your BMC Helix SSO server service url:
SSO-SERVICE-URL: <rsso_service_url>- Copy rsso-area-plugin-all.jar file from rsso-area-plugin to <AR>/pluginsvr directory.
- Copy gson-2.8.6.jar and slf4j-api-1.7.30.jar from lib to <AR>/pluginsvr directory.
Edit <AR>/pluginsvr/pluginsvr_config.xml, and add BMC Helix SSO AREA plugin by replacing <AR> with the corresponding path:
<plugin>
<name>ARSYS.AREA.RSSO</name>
<classname>com.bmc.rsso.plugin.area.RSSOPlugin</classname>
<pathelement type="location"><AR>/pluginsvr/rsso-area-plugin-all.jar</pathelement>
<pathelement type="location"><AR>/pluginsvr/gson-2.8.6.jar</pathelement>
<pathelement type="location"><AR>/pluginsvr/slf4j-api-1.7.30.jar</pathelement>
<userDefined>
<configFile><AR>/Conf/rsso.cfg</configFile>
</userDefined>
</plugin>- Restart the AR System server.
To improve the security of a
BMC Helix SSO
AREA plug-in, you can specify an optional property APP-TENANT:<tenant's name> in the rsso.cfg file. Ensure that the provided tenant's name coincides with the tenant's value specified in the Realm. For more information, see Configuring-general-settings-for-a-realm.
To manually integrate BMC Helix SSO with Mid Tier
- Stop the Tomcat service installed on Mid Tier.
- Configure the Authenticator as follows:
Edit the following line in the config.properties file (<Mid_Tier>/WEB-INF/classes) to use the RSSOAuthenticator:
arsystem.authenticator=com.bmc.rsso.plugin.authenticator.RSSOAuthenticator- Copy the rsso-authenticator-plugin-all.jar file from rsso-authenticator-plugin to the <Mid_Tier>/WEB-INF/lib folder.
- Copy the gson-2.8.6.jar file from BMC Helix SSO installation package Disk1\files\lib to the <Mid_Tier>/WEB-INF/lib folder.
- Configure the Web Agent as follows:
- Copy the rsso-agent-all.jar file from /rsso-agent to the <Mid_Tier>/WEB-INF/lib folder.
Copy /rsso-agent/rsso-agent.properties file to the <Mid_Tier>/WEB-INF/classes folder, and modify it as required:
logout-urls=/atssologout.html
sso-external-url=${sp-services-url}
# sso-external-url is a public user-facing URL exposed for end-users for authentication.
# In standalone mode, sso-external-url must be an HTTPS URL. For example, https://my-rsso.bmc.com/rsso
# If Helix SSO is installed in an HA mode, sso-service-url must be a Load Balancer (LB) URL.
sso-service-url=${sp-services-internal-url}
# If Helix SSO is installed in an HA mode, sso-service-url must be a Load Balancer (LB) URL.
# In standalone mode, sso-service-url is recommended to be an HTTP URL. For example, http://my-rsso.bmc.com/rsso.
agent-id=${agent-id}
# agent-id must be a unique identifier. Agent-id must be the same on all nodes in a Mid Tier HA cluster.
# BMC recommends to set this value to a simple identifier instead of a HTTP URL.
use-in-memory-cache=true
# Allows to choose between HttpSession and in-memory cache to store token data.
# Option can't be changed at run time
Edit the <Mid_Tier>/WEB-INF/web.xml file and add the following BMC Helix SSO filter configuration:
<filter>
<filter-name>RSSOFilter</filter-name>
<filter-class>com.bmc.rsso.agent.RSSOFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>RSSOFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>com.bmc.rsso.agent.RSSOListener</listener-class>
</listener>- Copy the rsso-agent/rsso-log.cfg file to the <Mid_Tier>/WEB-INF/classes folder.
- Copy the following files from the lib folder to the <Mid_Tier>/WEB-INF/lib folder:
- caffeine-<version>.jar
- jjwt-impl-<version>.jar
- org.apache.oltu.oauth2.client-<version>.jar
- jjwt-api-<version>.jar
- json-<version>.jar
- slf4j-api-<version>.jar
- jjwt-gson-<version>.jar
- Copy rsso-agent-all.jar from the Disk1/files/rsso-agent folder to the <Mid_Tier>/WEB-INF/lib folder.
- Restart Mid Tier/Tomcat.
To manually integrate BMC Helix SSO with BMC TrueSight Presentation Server
- Stop the BMC TrueSight Presentation Server.
Place the BMC Helix SSO filter into ${truesight.home}/modules/tomcat/conf/web.xml as the first filter:
<filter>
<filter-name>RSSOFilter</filter-name>
<filter-class>com.bmc.rsso.agent.RSSOFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>RSSOFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>- Create the following folder:
<TrueSightPServer>\truesightpserver\modules\tomcat\rsso_agent. - Copy the following files into the created folder:
- caffeine-<version>.jar
- jjwt-impl-<version>.jar
- org.apache.oltu.oauth2.client-<version>.jar
- jjwt-api-<version>.jar
- jjwt-gson-<version>.jar
- json-<version>.jar
- slf4j-api-<version>.jar
- rsso-client-impl.jar
- rsso-sdk-atsso.jar
- rsso-agent-all.jar
- Delete rsso-agent.properties file from rsso-agent-all.jar.
- Open the file <TrueSightPServer>\truesightpserver\conf\services\csr.conf, and make the following changes:
- Add the following paths to the classpath list:
- ${truesight.home}/modules/tomcat/rsso_agent/caffeine-<version>.jar
- ${truesight.home}/modules/tomcat/jjwt-impl-<version>.jar
- ${truesight.home}/modules/tomcat/rsso_agent/org.apache.oltu.oauth2.client-<version>.jar
- ${truesight.home}/modules/tomcat/rsso_agent/jjwt-api-<version>.jar
- ${truesight.home}/modules/tomcat/rsso_agent/json-<version>.jar
- ${truesight.home}/modules/tomcat/rsso_agents/slf4j-api-<version>.jar
- ${truesight.home}/modules/tomcat/rsso_agents/jjwt-gson-<version>.jar
- ${truesight.home}/modules/tomcat/rsso_agents/rsso-client-impl.jar
- ${truesight.home}/modules/tomcat/rsso_agents/rsso-sdk-atsso.jar
- ${truesight.home}/modules/tomcat/rsso_agents/rsso-agent-all.jar
- Comment the following line with path:
${truesight.home}/lib/dependencies/gson-<version>.jar.
- Add the following paths to the classpath list:
- Configure the BMC Helix SSO agent.
Open the <TrueSightPServer>\truesightpserver\modules\tomcat\rsso_agent\rsso-agent.properties file and add the following configuration:
agent-id=tsps_agent
sso-external-url=https://<RSSO_HOST_PORT>/rsso
sso-service-url=https://<RSSO_HOST_PORT>/rsso
- Generate a new SSL certificate with CN=<TSPS_HOST> and replace the existing certificate in keystore <TrueSightPServer>\truesightpserver\conf\secure\loginvault.ks.
- Start the BMC TrueSight Presentation Server.
To manually integrate BMC Helix SSO with BMC Helix CMDB
If you have integrated BMC Helix SSO with AR System and Mid Tier, BMC Helix SSO is automatically integrated with new BMC CMDB UI. If the integration fails, integrate BMC Helix SSO with new CMDB UI manually. See Manually integrating BMC Helix Single Sign-On with Jetty server.
To remove the integration of BMC Helix SSO from a BMC application
To remove the integration of BMC Helix SSO from a BMC application, perform the manual integration steps in reverse order.
For information about how to remove integration between BMC Helix SSO and AR System, see Removing-BMC-Helix-SSO-integration-from-Action-Request-System-and-Mid-Tier.