Setting Up Guest Login

To set up guest login:

  1. Create a user account in the security manager. If the user is supposed to connect from the DBMS server, execute the following operations:

    1. 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;

    1. 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.

  1. 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.

  2. Save user credentials using the PP.Util utility.

./PP.Util_start.sh /save_creds metabase_id /GC login [password]

PP.Util.exe /save_creds metabase_id /GC login [password]

For example:

./PP.Util_start.sh /save_creds REPOSITORY_ID /GC GUEST guest

Where:

After executing the operations:

  1. 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>

  1. 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:

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:

See also:

Foresight Analytics Platform Authentication