Implementing Remedy Single Sign-On authentication
TrueSight Server Automation supports integration with Remedy Single Sign-On to enable single sign-on authentication when using the REST APIs. When you authenticate with the Remedy Single Sign-On Server, you can access the TrueSight Server Automation resources using the REST API calls without providing the user credentials again. This topic provides information about how to enable and use Remedy Single Sign-On authentication.
This authentication works as follows:
See the following topics:
- Prerequisites
- Configuring the Remedy Single Sign-On authentication
- Using the Remedy Single Sign-On authentication
Prerequisites
- Create a user in the TrueSight Server Automation console and enable Remedy Single Sign-On authentication. For more information, see Creating-users.
- Make sure that TLSv1.2 is configured on the Application Server. If you are upgrading TrueSight Server Automation, manually change the TLS setting to TLSv 1.2 for the EnabledTlsContextProtocol property in the appserver-options.properties file, and restart the Application Server. For more information, see Configuring-the-TLS-protocol.
- If you want to use the HTTPS connection for Remedy Single Sign-On, do the following:
Obtain the Remedy Single Sign-On certificate. For more information, see Implementing private certificates in the Remedy Single Sign-On Server.
- Copy the Remedy Single Sign-On certificate to the following path:
<TSSA_installation dir>/br/deployments
Configuring the Remedy Single Sign-On authentication
Do the following:
- Log in to the system where TrueSight Server Automation is installed.
- (Windows) Log in as an administrator.
- (Linux) Log in as a root user.
- On the nsh prompt, run the following commands:
- blasadmin
- show RemedySsoAuth all
Specify values for these parameters:
Parameter
Description
Blasadmin command examples
IsEnabled
Set to true to enable Remedy Single Sign-On authentication. By default, this authentication is disabled.
set RemedySsoAuth IsEnabled trueRemedySsoServerURL
Specify the URL of the server that hosts the Remedy Single Sign-On Server.
- set RemedySsoAuth RemedySsoServerUrl http://<host_name>:<port>/rsso/
- set RemedySsoAuth RemedySsoServerUrl https://<host_name>:<port>/rsso/
If the Remedy Single Sign-On is configured to use the HTTPS connection, specify values for the following additional parameters:
TrustStorePassword
Specify the truststore password for the Remedy Single Sign-On server certificate validation.
set RemedySsoAuth TruststorePassword <trustore_password>TrustStorePathname
Specify the keystore path for the Remedy Single Sign-On server certificate validation.
set RemedySsoAuth TrustStorePathname C:\TSSA_Source\truststore.jksTrustStoreType
Specify the truststore type to be used for the Remedy Single Sign-On server certificate validation.
set RemedySsoAuth TrustStoreType JKS- Exit blasadmin.
- Restart the Application Server.
Using the Remedy Single Sign-On authentication
Do the following:
- Log in to the system where TrueSight Server Automation is installed.
- (Windows) Log in as an administrator.
- (Linux) Log in as a root user.
Make a call to the Remedy Single Sign-On Server to obtain a token.
- Use the Remedy Single Sign-On token that you obtained in the previous step for the subsequent API calls.
For example, make the following call to the GET:/v1/servers API to get a list of all servers:
curl -X GET "https://<host_name>/bsa-rest/v1/servers" -H "accept: application/json" -H "Authorization: Bearer <token>="
For information about using the Swagger UI, see Trying-out-the-REST-APIs.