Implementing Remedy Single Sign-On authentication
supports integration with to enable single sign-on authentication when using the REST APIs. When you authenticate with the Server, you can access the resources using the REST API calls without providing the user credentials again. This topic provides information about how to enable and use 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 console and enable authentication. For more information, see Creating-users.
- Make sure that TLSv1.2 is configured on the Application Server. If you are upgrading , 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 , obtain the certificate. For more information, see Implementing private certificates in the Remedy Single Sign-On Server.
- Copy the certificate to <TSSA_installation_dir>/br/deployments.
Configuring the authentication
Do the following:
- Log in to the system where 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 authentication. By default, this authentication is disabled.
set RemedySsoAuth IsEnabled trueRemedySsoServerURL
Specify the URL of the server that hosts the Server.
set RemedySsoAuth RemedySsoServerUrl http://<host_name>:<port>/rsso/NEW IN 23.4.01 ClientId
Provide the client ID generated on the Remedy SSO server during OAuth client creation.
set RemedySsoAuth ClientId <RemedySSOClientID>
NEW IN 23.4.01 ClientSecret
Provide the client Secret generated on the Remedy SSO server during OAuth client creation.
set RemedySsoAuth ClientSecret <RemedySSOClientSecret>
If the is configured to use the HTTPS connection, specify values for the following additional parameters:
TrustStorePassword
Specify the truststore password for the server certificate validation.
set RemedySsoAuth TruststorePassword <trustore_password>TrustStorePathname
Specify the keystore path for the server certificate validation.
set RemedySsoAuth TrustStorePathname <TSSA_installation_dir>/br/deploymentsTrustStoreType
Specify the truststore type to be used for the server certificate validation.
set RemedySsoAuth TrustStoreType JKS- Exit blasadmin.
- Restart the Application Server.
Configuring Web Proxy server
TrueSight Server Automation supports communication with Remedy or Helix SSO via a Web Proxy server (For example, SQUID Proxy Server), configured through the Application server's blasAdmin commands.
Perform the following steps to configure the Web Proxy server:
- Configure the web proxy details by adding the following Blasadmin commands
Parameter Description Blasadmin command examples HttpProxyServerName Specify the hostname or IP address of the HTTP proxy server. set remedyssoAuth HttpProxyServerName <server> HttpProxyServerPort Specify the port number used to connect to the HTTP proxy server.
set remedyssoAuth HttpProxyServerPort <port>
Note: Enter only positive integer values.
HttpProxyProtocol Specify the protocol (http or https) used by the HTTP proxy server. set remedyssoAuth HttpProxyProtocol <http/https>
For example: If a proxy protocol HTTPS is configured , the proxy server's certificate must be imported into the truststore specified by TrustStorePathname.
To view the truststore path, run the command: show remedyssoauth TrustStorePathname.HttpProxyUser Specify the username required for proxy server authentication (if needed). set remedyssoAuth HttpProxyUser <user>
Note : If authentication is enabled on proxy server, those authentication credentials can be configured using specified HTTPPRoxyUser and HTTPProxypassword parameters.
HttpProxyPassword Specify the password associated with the proxy user for authentication. set remedyssoAuth HttpProxyPassword <pwd>
Note : If authentication is enabled on proxy server, those authentication credentials can be configured using specified HttpProxyUser and HttpProxyPassword parameters.
- Restart the Application Server.
Using the authentication
Do the following:
- Log in to the system where is installed.
- (Windows) Log in as an administrator.
- (Linux) Log in as a root user.
Make a call to the Server to obtain a token.
- Use the 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.