To set up guest login:
Create a user account in the security manager. If the user is supposed to connect from the DBMS server, execute the following operations:
Create a user on the DBMS server. The example for PostgreSQL:
CREATE ROLE "<user name>" LOGIN ENCRYPTED PASSWORD '<user password>' NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;
Select the Connected from Server checkbox on the General Properties tab of the Properties side panel in the web application or in the User Properties dialog box in the desktop application.
Add the created user to the Users built-in group on the Member of Groups tab of the Properties side panel in the web application or in the User Properties dialog box in the desktop application. The user inherits privileges of this group to connect to the repository and to work in the object navigator.
Save user credentials using the PP.Util utility.
In Linux OS:
./PP.Util_start.sh /save_creds metabase_id /GC login [password]
In Windows OS:
PP.Util.exe /save_creds metabase_id /GC login [password]
For example:
./PP.Util_start.sh /save_creds REPOSITORY_ID /GC GUEST guest
Where:
REPOSITORY_ID. Repository identifier.
GUEST. User name.
guest. User password.
After executing the operations:
In Linux OS user credentials will be saved in the Metabases.xml file in the Credentials section corresponding to repository identifier, and in settings.xml in the Audit section.
In Windows OS user credentials will be saved in the registry key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\Metabases\<repository identifier>] and in the Metabases.xml file if it is used.
Add the authentication attribute with the Guest value in the <metabase> section of the PP.xml configuration file. For example:
<pp>
...
<metabase id="REPOSITORY_ID" authentication="Guest"/>
...
</pp>
Restart BI server and web application back end.
After executing the operations the guest login to the specified repository is set up. Open the web application on any page contained in the web application installation folder, except for login.html:
In Linux OS: /opt/foresight/fp10.x-webserver/app.
In Windows OS: C:\Program Files (x86)\Foresight\Analytics Platform 10.x Web Application\App.
For example, the link to open the object navigator in Linux OS:
http://<web server>:<port number>/fp10.x/r/#/app/navigator?repo=<repository identifier>
Where:
<web server>. IP address or DNS name of the server, on which web application back end is installed.
<port number>. Number of the port, at which web application back end is available. The 8110 port is used by default.
<repository identifier>. The repository, to which the user logs in as a guest.
See also: