You must create JMX policies to ensure that the database
for core AEM forms on JEE components initializes correctly.
Complete the following procedures.
7.7.1 Delegating MBean authorization to the realm
Before creating JMX policies, ensure that the security
realm is set up to control access to MBeans. For more information,
refer to the WebLogic Administration Console documentation.
-
In the WebLogic Administration Console, click
Domain Structure > Security Realms.
-
Click
myrealm
from the Realms list on the
Summary of Security Realms
page.
-
On the Configuration > General page, ensure that
Use Authorization Providers to Protect JMX Access
is
selected. If this option is not selected, perform the following
steps:
-
Click
Lock & Edit
in the Change
Center.
-
Select
Use Authorization Providers to Protect JMX Access
.
-
Click
Save
.
-
In the Change Center, click
Activate Changes
.
-
Restart the admin server and the managed server.
7.7.2 Create JMX policies
-
In the WebLogic Administration Console, click
Domain Structure > Security Realms.
-
On the
Summary of Security Realms
page, click the
name of the realm for which you want to modify JMX policies.
-
On the Settings page, click the
Roles and Policies
tab
and then click the
Realm Policies
sub tab.
-
In the Name column of the
Policies
table, click
JMX Policy Editor
.
-
On the JMX Policy Editor page, ensure that the
GLOBAL SCOPE
option
is selected. Click
Next
.
-
Ensure that the
ALL MBEANS TYPES
option is selected
on the next page. Click
Next
.
-
Select the
Attributes: Permission to Write
option
and click
Create Policy
.
-
On the Edit JMX Policies page, click
Add Conditions
.
-
Select
Role
from the
Predicate List
drop-down
menu and click
Next
.
-
In the
Role Argument Name
box, enter
Anonymous
and
click
Add
.
Note:
The
Anonymous role is a default WebLogic role for all runtime process users (for example, users required for bootstrapping an application).
-
Click
Finish
.
-
On the Edit JMX Policies page, click
Save
.
-
Repeat steps 1 to 6.
-
On the
JMX Policy Editor - Attributes and Operations
page,
select the
Unregister instances of this MBean using MBean server
option
and click
Create Policy
.
-
Repeat steps 8 to 12.
|
|
|