How to disable 'Log Out' option for users in Web Player for version 7.5 and higher

How to disable 'Log Out' option for users in Web Player for version 7.5 and higher

book

Article ID: KB0080425

calendar_today

Updated On:

Products Versions
Spotfire Web Player 7.5 and higher

Description

It may be a requirement to disable "Log Out" option for users from the top right corner of the Web Player. This article explains you how to disable "Log Out" option for users in Web Player.
 

Issue/Introduction

How to disable "Log Out" option for users in Web Player for version 7.5 and higher.

Environment

OS: All supported Operating System

Resolution

When you want to disable the "Log Out" option for users, do the following. Note: This is not applicable to the Automation_services configuration so when exporting the service configuration, the value will always be WEB_PLAYER . Or export a config using the configuration name specific to Web Player only.

1). Launch the command prompt as Administrator, then navigate to the "<Spotfire Server install location>\tibco\tss\<version 7.5.0 or later>\tomcat\bin" folder.
2). Run the following command.
-----------------
config export-service-config --capability=WEB_PLAYER --deployment-area=Production
-----------------
3). Open the Spotfire.Dxp.Worker.Web.config file in a text editor. This file is located within "<Spotfire Server install location>\tibco\tss\<version 7.5.0 or later>\tomcat\bin\config\root" .

4). Navigate to the <userInterface> section and change the showLogout=true to showLogout=false as shown below.  Save the file and exit.
-----------------
<userInterface>
      <pages showLogout="false" showAbout="true" showHelp="true" showUserName="true"/>
....
....

</userInterface>
-----------------

5). Run the following command to import the service configuration.
-----------------  
config import-service-config --config-name="Disabled ShowLogout"
-----------------

6). Run the following command to set the new configuration on the Spotfire Server.
-----------------
config set-server-service-config  --config-name="Disabled ShowLogout" --capability=WEB_PLAYER
-----------------
Note: The Spotfire Server Service has to be restarted for the changes to take effect.