This document applies only to the following language version(s):
English, Simplified Chinese
Which tools to allow me to enable the application security settings for an OSGi application in Rational Application Developer?
There is no OSGi tool support for configuring security role mapping.
You need to map it manually using the administrative console or write scripts to configure the security role mapping.
Here are the steps on how to set security role and map the role to Users, Groups, or Special Subjects:
Define the security role in the Rational Application Developer as usual in the deployment descriptors.
- in the web.xml ( for web bundles) using the web.xml editor
- In the ejb-jar.xml for EJB Bundles
- In the Blueprint file for ( bean security) using Blueprint Editor.
An example of the security role in the web deployment descriptor (web.xml)
Deploy the OSGi application to the server.
The security role will be available in the server.
Use the administrative console to map the role to Users , Groups or Special Subjects in the Websphere Application Server.
How to set security for OSGI application is documented in the WebSphere Application Server Infocenter here: http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/topic/com.ibm.websphere.osgi.nd.iseries.doc/ae/ta_sec.html