Note: I assume that you’ve already set up your user registry and enabled the administrative security.
If you haven’t finished those steps, refer to previous post.
Having set the administrative security and adding an user registry, now we need to find a way in which we can map the users to different roles.
For example, we do not want everyone to be an administrator. For some people only deployment features in the admin console are enough. some users may need to only monitor the state of the WebSphere through the console.
By default, WebSphere provides few roles, those are listed below
| Monitor | The monitor role can do the following: • View the WebSphere Application Server configuration • View the current state of the Application Server |
| Configurator | A configurator role can do the following: • Create a resource • Map an application server • Install and uninstall an application • Deploy an application • Assign users and groups-to-role mapping for applications • Set up Java 2 security permissions for applications |
| Monitor | monitor privileges and can stop and start the server and monitor the server status in the administrative console. |
| Administrator | An individual or group which can be assigned this role will have the operator and configurator privileges, plus additional privileges that are granted for administration. |
| Iscadmins | Available to administrative console users. Users who are granted this role have administrator privileges for managing users and groups in the federated repositories. |
| Deployer | Assigned users will have the ability to completely deploy an application and configure application runtime settings. |
| Admin Security Manager | By using the Admin Security Manager role, you can assign users and groups to the administrative user roles and administrative group roles. |
Only for WebSphere v7
| Auditor | This role allows users to modify the configuration settings for security auditing and the role includes the monitor role. |
|
|
|
Once you enable the global security, it applies to security policy for all administrative functions and is used as default security policy for user applications. When you select the Enable administrative security option, the Enable application security and Use Java 2 security to restrict application access to local resources options are selected by default. However, you can clear the Enable application security and Use Java 2 security to restrict application access to local resources options so that they function independently from the Enable administrative security option. So Global security is combination of Administrative security and j2ee security.
from WebSphere v6.1 onwards we have option to enable security while installing/creating the profile. Enabling from these options will use the custom file based repository for storing user names and passwords for authentication.
Before you can enable security for WebSphere Application Server, you must configure a user registry.
For WebSphere v6.1 Click Security > Secure administration, applications, and infrastructure.
for WebSphere v7.0 users have this under security->global security.
Select the Enable administrative security option
Notes: 1. Clear the Enable application security option if you do not want to require WebSphere Application Server to authenticate application users.
2. Clear the Use Java 2 security to restrict application access to local resources option if you do not want to enable Java 2 Security permission checking.
Now select the User account repository
Here we have 4 options:
-
-
Federated repositories
The federated repositories functionality enables you to use multiple registries with WebSphere Application Server. These registries, which can be file-based registries, LDAP registries, or a sub-tree of an LDAP registry, are defined and theoretically combined under a single repository. -
Local operating system
The implementation is a SAF compliant registry such as the Resource Access Control Facility, which is shared in an MVS sysplex. -
Standalone LDAP registry
The standalone LDAP registry settings are used when users and groups reside in an external LDAP directory. When security is enabled and any of these properties are changed, go to the Secure administration, applications, and infrastructure panel and click OK or Apply to validate the changes. -
Standalone custom registry
The standalone custom registry feature supports any user registry that is not implemented by WebSphere Application Server. You can use any user registry that is used in the product environment by implementing the UserRegistry interface.
-
Configure the selected repository and click “set as current”. and then click apply.
Once you’ve applied the new configuration, you need restart all the process (dmgr/node/server) for the administrative security to be in action.
Configuring standalone LDAP for user account repository
I assume that you’ve already set up your LDAP repository.
go to Security->Secure administration, applications, and infrastructure->User account repository->available realm definitions
here select standalone LDAPregistry and click configure
Now, you’ll be taken a new panel, where you configure LDAP for webSphere
First give the primary administrative user name.
This is the primary user WebSphere will use for the server identity. This user must have administrative privileges on LDAP.
Select the server user identity - automatically generate server identity.
Select the type of LDAP server you are using
and you need enter the following details
Host - where you ldap is running (give fully qualified domain name)
Port - port where your ldap is running
Base distinguished Name (DN)
Bind distinguished name (DN)
Bind password
Once gave all the above details, click apply
navigate back to the global security page and click ’set as current’
If you select custom LDAP option in the above step, you may get an error message saying ‘Primary administrative user ID does not exist in the registry error message’. This is because, default LDAP configuration for Custom in WebSphere is set to look for the uid attribute for a common name. You’ll need to set these as per your LDAP.
for example, in OpenLDAP we create a new user using ‘cn’ attribute.
To set this custom field, goto Additional properties-> Advanced Lightweight Directory Access Protocol (LDAP) user registry settings. A default set of predefined filters exist, which are provided for each LDAP server that the WebSphere supports. You can modify these filters to fit your LDAP configuration.
Once your changes are done click apply and save. and then save the changes to master configuration repository. You now have configured WebSphere to use an LDAP registry.
Now that we’ve enabled the administrative security, the next step is to configure the Administrative roles and map the users.
Administrative roles and mapping users will be discussed in the next post.
|
|
|
Hi Friends…
Thanks for all your emails
As per all your requests, i’m not moving the blog anywhere….lets stay here together
But from now on the blog will host the content only for
- WebSphere Application Server
- Websphere MQ
Hello
There will not be any new posts here but the present posts will not be removed. Even if you subscribe on this blog…..you’ll get updates from the new blog automatically.
Please inform your friends who follow this blog.
Reason for moving:
- Since most people are using GoogleID, blogger will give more advantages over the present host
- Wordpress hosting is bringing lot of new users from different parts of the world.
- I wants to provide you guys with more options to share and collaborate on the blog by providing more features and content.
Thanks for all your coordination…
Upgrade yourself to WebSphere Application Server v7 (Videos)
Technical, WebSphere Application Server No Comments »Part 1/3
Part2/3
Part3/3
WebSphere Application Server V7 Product demonstrations
Technical, WebSphere Application Server No Comments »The IBM WebSphere Application Server V7 product animations are designed to provide some insight into the product without requiring a significant investment to learn. These animations are overviews and may be updated as the products change.
Follow the below link and fill the form to download/view the demos
WebSphereBlog
Join Community-Orkut
SOA&BPMBlog
WebLogicBlog
My tweets!
My Profile Page

Sign Here-GuestBook
Presentations-Slideshare
Recent Comments