Now I'm dealing with new Connections version 5.
During its installation I had a issue with mapping the necessary group to role using ISC.
Granting access to global metrics
But I had a trouble. When I press the link Save in ISC for storing the configuration - I get white frame and the configuration does not change.
I decided to use wsadmin scripting. And this is fine result:
./wsadmin.sh localhost 8879 -lang jython -username wasadmin -password wasadmin
wsadmin>print AdminApp.view('Common', '-MapRolesToUsers')
Role: metrics-report-run
Everyone?: No
All authenticated?: No
Mapped users:
Mapped groups:
All authenticated in trusted realms?: No
Mapped users access ids:
Mapped groups access ids:
wsadmin>AdminApp.edit('Common', '[ -MapRolesToUsers [[metrics-report-run AppDeploymentOption.No AppDeploymentOption.Yes "" "" AppDeploymentOption.No "" "" ]]]' )
wsadmin>print AdminApp.view('Common', '-MapRolesToUsers')
Role: metrics-report-run
Everyone?: No
All authenticated?: Yes
Mapped users:
Mapped groups:
All authenticated in trusted realms?: No
Mapped users access ids:
Mapped groups access ids:
wsadmin>AdminApp.edit('Metrics', '[ -MapRolesToUsers [[metrics-report-run AppDeploymentOption.No AppDeploymentOption.Yes "" "" AppDeploymentOption.No "" "" ]]]' )
wsadmin>AdminConfig.save()
wsadmin>quit
During its installation I had a issue with mapping the necessary group to role using ISC.
Granting access to global metrics
But I had a trouble. When I press the link Save in ISC for storing the configuration - I get white frame and the configuration does not change.
I decided to use wsadmin scripting. And this is fine result:
./wsadmin.sh localhost 8879 -lang jython -username wasadmin -password wasadmin
wsadmin>print AdminApp.view('Common', '-MapRolesToUsers')
Role: metrics-report-run
Everyone?: No
All authenticated?: No
Mapped users:
Mapped groups:
All authenticated in trusted realms?: No
Mapped users access ids:
Mapped groups access ids:
wsadmin>AdminApp.edit('Common', '[ -MapRolesToUsers [[metrics-report-run AppDeploymentOption.No AppDeploymentOption.Yes "" "" AppDeploymentOption.No "" "" ]]]' )
wsadmin>print AdminApp.view('Common', '-MapRolesToUsers')
Role: metrics-report-run
Everyone?: No
All authenticated?: Yes
Mapped users:
Mapped groups:
All authenticated in trusted realms?: No
Mapped users access ids:
Mapped groups access ids:
wsadmin>AdminApp.edit('Metrics', '[ -MapRolesToUsers [[metrics-report-run AppDeploymentOption.No AppDeploymentOption.Yes "" "" AppDeploymentOption.No "" "" ]]]' )
wsadmin>AdminConfig.save()
wsadmin>quit
No comments:
Post a Comment