Create a read only user to OWSM Console.
Create a read only user to OWSM Console.
1) Go to the below path $OH/owsm/bin
2) Open manageUserGroups.properties file and given parameters :-
user_id=vinay_r
user_name=vinay singla
user_password=welcome123
user_email=vinayncce1@gmail.com
bash-3.2$ vi manageUserGroups.properties
"manageUserGroups.properties" [Incomplete last line] 46 lines, 1089 characters
^M
#============== User Parameters^M
# Sample User Values^M
#user_id=ctang^M
#user_name=Administrator^M
#user_password=mypasswrod^M
#user_email=admin@admin.com^M
^M
user_id=vinay_r
user_name=vinay singla
user_password=welcome123
user_email=vinayncce1@gmail.com
^M
^M
"manageUserGroups.properties" 46 lines, 1134 characters
You have mail in /var/mail/appsid
3) Save the file and in the same directory execute below command . it will successfully create a user for OWSM Console:-
bash-3.2$ sh wsmadmin.sh manageUserGroups addUser
Buildfile: /u01/app/OAS/10.1.3.1/SID1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user:
[java] SUCCESS : User "vinay_r" successfully added into database.
BUILD SUCCESSFUL
Total time: 2 seconds
4) There are many default roles present in the application like cs1-grp,ss1-grrp , also you can create groups having roles as “service support” or “customer support” .
5) For adding group to the OWSM Console , please execute below command :-
Total time: 2 seconds
bash-3.2$ sh wsmadmin.sh manageUserGroups addGroup
Buildfile: /u01/app/OAS/10.1.3.1/SID1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-group:
[java] SUCCESS : Group "csupport" successfully added into database.
BUILD SUCCESSFUL
Total time: 1 second
6) Now you can provide two roles “service support” or “customer support” to the user vinay_r with the execution of below command :-
bash-3.2$ sh wsmadmin.sh manageUserGroups addUserGroup
Buildfile: /u01/app/OAS/10.1.3.1/SID1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user-group:
[java] SUCCESS : Mapping between user "vinay_r" and group "csupport" successfully added into the database.
BUILD SUCCESSFUL
Total time: 5 seconds
You have mail in /var/mail/appsid
7) Now login to OWSM Console with admin user and click on any component :-
8) Now click edit component details :-
9) Now click on " Registration Details" and assign the cs1-grp etc to the specific component , hence the read only user will be able to view only that specified component with the read only privileges.
1) Go to the below path $OH/owsm/bin
2) Open manageUserGroups.properties file and given parameters :-
user_id=vinay_r
user_name=vinay singla
user_password=welcome123
user_email=vinayncce1@gmail.com
bash-3.2$ vi manageUserGroups.properties
"manageUserGroups.properties" [Incomplete last line] 46 lines, 1089 characters
^M
#============== User Parameters^M
# Sample User Values^M
#user_id=ctang^M
#user_name=Administrator^M
#user_password=mypasswrod^M
#user_email=admin@admin.com^M
^M
user_id=vinay_r
user_name=vinay singla
user_password=welcome123
user_email=vinayncce1@gmail.com
^M
^M
"manageUserGroups.properties" 46 lines, 1134 characters
You have mail in /var/mail/appsid
3) Save the file and in the same directory execute below command . it will successfully create a user for OWSM Console:-
bash-3.2$ sh wsmadmin.sh manageUserGroups addUser
Buildfile: /u01/app/OAS/10.1.3.1/SID1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user:
[java] SUCCESS : User "vinay_r" successfully added into database.
BUILD SUCCESSFUL
Total time: 2 seconds
4) There are many default roles present in the application like cs1-grp,ss1-grrp , also you can create groups having roles as “service support” or “customer support” .
5) For adding group to the OWSM Console , please execute below command :-
Total time: 2 seconds
bash-3.2$ sh wsmadmin.sh manageUserGroups addGroup
Buildfile: /u01/app/OAS/10.1.3.1/SID1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-group:
[java] SUCCESS : Group "csupport" successfully added into database.
BUILD SUCCESSFUL
Total time: 1 second
6) Now you can provide two roles “service support” or “customer support” to the user vinay_r with the execution of below command :-
bash-3.2$ sh wsmadmin.sh manageUserGroups addUserGroup
Buildfile: /u01/app/OAS/10.1.3.1/SID1/owsm/bin/../scripts/manageusergroups.xml
set-classpath-oracle:
[echo] Setting Oracle Classpath
manage-add-user-group:
[java] SUCCESS : Mapping between user "vinay_r" and group "csupport" successfully added into the database.
BUILD SUCCESSFUL
Total time: 5 seconds
You have mail in /var/mail/appsid
7) Now login to OWSM Console with admin user and click on any component :-
8) Now click edit component details :-
9) Now click on " Registration Details" and assign the cs1-grp etc to the specific component , hence the read only user will be able to view only that specified component with the read only privileges.
Comments