Usage Note 52218: Setting up the SAS® Web Anonymous User after configuration in order to enable guest access in SAS® Visual Analytics 6.3
If you try to set up guest access in SAS Visual Analytics 6.3 and you do not create the SAS Web Anonymous User during configuration, you need to follow some additional steps that are not available in the documentation.
SAS Visual Analytics 6.3 introduced guest access. Guest access provides anonymous access to a subset of SAS Visual Analytics resources and functionality. Guest access uses the SAS Anonymous Web User. The steps to create the SAS Anonymous Web User, which follow below, are not included in the documentation. The SAS® 9.4 Intelligence Platform: Middle-Tier Administration Guide, Second Edition directs customers to contact SAS Technical Support for this information.
Steps to Create the SAS Anonymous Web User
- Create the web anonymous user as an internal account in the metadata. The SAS® Metadata Server must be running for this step. (Note: You can alternatively configure the web anonymous user by using an external account if you need the account to launch a workspace server.)
- Log on to SAS® Management Console as an unrestricted user.
- Right-click the User Manager plug-in and select Create ► New ► User.
- On the General tab in the New User Properties dialog box, provide the name webanon and the display name SAS Web Anonymous User.
- On the Accounts tab, click Create Internal Account.
- Provide a password. You need the password in the next step. Then click OK.
- On the Groups and Roles tab, move the Visual Analytics: Basic role from the Available Groups and Roles pane to the Member of pane.
- Click OK.
- Encode the password, as follows:
- In Base SAS® software, run the PWENCODE procedure, as shown below, to encode the password. Replace the webanon password with the password that you used to create the web anonymous user in SAS Management Console:
proc pwencode in="webanon password";
run;
- Locate the sas002-encoded password in the log. Capture the value (including the {SAS002}) and retain it for use in the next step.
- Update the sas_application_property table in the SAS Shared Services database. The SAS Web Infrastructure Platform Data Server must be running for this step. Depending on what database you are using, the method to connect and execute SQL statements varies. Consult your database administrator for more information about updating your SAS Shared Services database.
For the SAS Web Infrastructure Platform Data Server running in Windows operating environments
Use the pgAdmin3 tool that is included in the SASHOME\SASWebInfrastructurePlatformDataServer\9.4\bin\ directory, as follows:
- Navigate to SASHOME\SASWebInfrastructurePlatformDataServer\9.4\bin.
- Double-click pgAdmin3.exe.
- Click the Add a connection to a server button.
- Provide a name for the server registration, enter host and port (9432), user name (dbmsowner), and a password. Then click OK.
- In the Object Browser on the left, double-click Server Groups and select Servers ► host-name ► Databases.
- Click SharedServices to connect.
- Click the Execute arbitrary SQL queries button and enter the following:
INSERT INTO SAS_APPLICATION_PROPERTY (PROPERTYSET_NM, PROPERTY_NM, PROPERTY_VALUE_TXT) VALUES ('Environment.Properties', 'web.anonymous.userid', 'webanon@saspw');
INSERT INTO SAS_APPLICATION_PROPERTY (PROPERTYSET_NM, PROPERTY_NM, PROPERTY_VALUE_TXT) VALUES ('Environment.Properties', 'web.anonymous.password' , 'encoded-password');
- Click the Execute Query button. You should see the following message on the Messages tab in the Output pane:
Query returned successfully: 1 row affected, 16 ms execution time.
- To exit the Query window, select File ► Exit.
- To exit pgAdmin3, select File ► Exit.
For the SAS Web Infrastructure Platform Data Server running in UNIX operating environments
Use the PSQL tool that is included in the SASHOME/SASWebInfrastructurePlatformDataServer/9.4/bin/ directory, as follows:
- Navigate to SASHOME/SASWebInfrastructurePlatformDataServer/9.4/bin.
- Enter the following lines, adding your
SAS_HOME path to set up the PSQL environment:
POSTGRES_HOME=SASHOME/SASWebInfrastructurePlatformDataServer/9.4
export PATH=${POSTGRES_HOME}/bin:$PATH
export LD_LIBRARY_PATH=${POSTGRES_HOME}/lib:$LD_LIBRARY_PATH
- Enter the following lines. You will be prompted for the SharedServices user’s password.
psql -h localhost -p 9432 -U SharedServices -c "INSERT INTO SAS_APPLICATION_PROPERTY (PROPERTYSET_NM, PROPERTY_NM, PROPERTY_VALUE_TXT) VALUES ('Environment.Properties', 'web.anonymous.userid', 'webanon@saspw');"
psql -h localhost -p 9432 -U SharedServices -c "INSERT INTO SAS_APPLICATION_PROPERTY (PROPERTYSET_NM, PROPERTY_NM, PROPERTY_VALUE_TXT) VALUES ('Environment.Properties', 'web.anonymous.password', 'encoded-password');"
- To enable guest access for SAS Visual Analytics, you must set the App.AllowGuest property to True. To set advanced properties for SAS Visual Analytics, see SAS® Visual Analytics 6.3: Administration Guide.
Operating System and Release Information
| SAS System | SAS Visual Analytics | Microsoft® Windows® for x64 | 6.3 | | 9.4 TS1M1 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
If you try to set up guest access in SAS Visual Analytics 6.3 and you do not create the SAS Web Anonymous User during configuration, you need to follow some additional steps that are not available in the documentation.
| Date Modified: | 2014-06-19 11:29:54 |
| Date Created: | 2014-01-31 10:31:30 |