Use these steps to create a system administration user to manage overall security from Mobile Web Studio. Optionally, you can hide this user account, or any other account, so it does not show up in Mobile Web Studio.
Creating a new user to access Mobile Web Studio objects and security
Log in to Mobile Web Studio as StudioAdmin, such as the masuper account.
Select Manage | Users/Roles from the menu in the left pane.
Select Users and click New on the toolbar.
When the Create New User window displays, complete the required fields.
Username – enter a user name, such as securityManager. This will be your account name when you log in to Mobile Web Studio.
Do not use “opsuper” or “masuper” for the Login Name.
Active – make the account active.
Default Resource – select Mobile Studio from the drop-down list. If you set up multiple co-brands, set up a separate administrative user for each resource.
Available roles – select StudioAdmin and PortalAdmin.
First name – enter the user’s first name.
Last name – enter the user’s last name.
E-mail – enter the user’s e-mail address. The password is sent to this e-mail address.
Click Save. The new user displays in the list of available users.
Log out of Mobile Web Studio.
Log in as the new user to test the account. If you are logging on to another co-brand, specify the resource ID when logging in.
Create some applications and pages to use the permissions that have been granted to this user.
Hiding a user account in Mobile Web Studio
Optionally, with the PortalDB security provider, you can “hide” a user account so it does not display in the Mobile Web Studio list of user accounts. (This does not work with the LDAP security provider, or Enterprise Security).
From the command line, navigate to the following directory:
cd SYBASE\UAxx\asa\java
Access jisql using the command that follows. The command adds the jConnect JDBC driver to the class path.
java -classpath ..\..\tomcat\common\lib\
jconn2.jar;jisql.jar com.sybase.jisql.Jisql
The jisql login screen displays.
Log in:
Username – user name for the
database; for example, dba
for
ASA.
Password – password for the database; for
example, SQL
for ASA.
Hostname – Unwired Accelerator host name;
for example, lab2K
.
Portnumber – database port; for example, 4747
.
Properties – optional database connection
properties; for example, SERVICENAME=portaldatabse
.
Language – Database language; for example, English.
Click Connect.
Use the following command to “hide” a user account:
UPDATE users set protected='true' where login_name='account'
For example, to hide the securityManager account from view in Mobile Web Studio, use:
UPDATE users set protected='true' where login_name='securityManager'
To verify the change, log in to Mobile Web Studio as a StudioAdmin user. Select Manage | Users/Roles, and select Users. The securityManager user should no longer appear in the list of available users.
To reveal a hidden user account, use:
UPDATE users set protected='false' where login_name= 'account'
Copyright © 2005. Sybase Inc. All rights reserved. |