Skip to main content

Modifying the Default Server Security Realm

 Technote (FAQ)
 
Question
How to change default server security realm?
 
Cause
The default IBM WebSphere Application Server Community Edition uses a Property File Realm called geronimo-admin, the default Console Realm User is system, belongs to Console Realm Group admin. The users and groups information is stored under <WASCE_HOME>/var/security/groups.properties and <WASCE_HOME>/var/security/users.properties.
 
Answer

To change the default security realm, the following steps need to be performed.

1. Set up security realm. From Console Navigation click Security Realm, type in Name for new Security Realm and select Realm Type.

The sample application, ldap-realm provide examples for LDAP setting for different LDAP servers.
The sample application can be downloaded from Community Edition download site.
http://www.ibm.com/developerworks/downloads/ws/wasce/

2. Download the source from Apache Geronimo download since you cannot download the WebSphere Application Server Community Edition source code.
http://geronimo.apache.org/apache-geronimo-v212-release.html

3. When you build the server from source, the plan file will be generated to configs\webconsole-tomcat\target\plan\plan.xml. This plan file can be edited to change the realm-name from "geronimo-admin" to "my-new-realm" plus other changes to role-mapping and then redeploy applications\console\geronimo-console-ear\target\geronimo-console-ear-2.0.1.ear using this edited plan file.
 
 
 

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page

Please take a moment to complete this form to help us better serve you.

This material provides me with the information I need.






This material is clear and easy to understand.






Did the information help you to achieve your goal?

What updates, improvements, or related information would you like to see in this document?

Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.


Input the verification number to submit feedback:



Document information

Product categories:

Software

Application Servers

Distributed Application & Web Servers

WebSphere Application Server Community Edition

Security


Operating system(s):

AIX, Linux, Solaris, Windows


Software version:

2.0, 2.0.0.1, 2.0.0.2, 2.0.0.3, 2.1, 2.1.0.1


Reference #:

1320462


IBM Group:

Software Group


Modified date:

2009-08-25

Translate my page