Application Platform 10.11 | Developing with Application Platform in Designer | About Adding Single Sign-on Authentication in Application Platform Projects | Securing Web Archive (WAR) Projects
 
Securing Web Archive (WAR) Projects
The following procedure describes the steps you must execute to secure the web application layer of WAR projects by using security constraints. This function is available only for Application Platform web projects.
Note:
You can also secure WAR projects by using the annotations, provided by Application Platform. For information about using annotations, see Securing the OSGi Service Layer.
*To secure the web application layer of your Application Platform WAR project
1. In Designer, go to the Project Explorer or Package Explorer and right-click your project.
2. Double-click the web.xml file, located here: project_name/WebContent/WEB-INF/web.xml.
3. Edit the web.xml file by adding the required security constraints.
4. Optional. If the project does not have a Bnd template:
a. Go to the Project Explorer or Package Explorer and select App Platform.
b. Click Create Bnd template.
5. Optional. If your project is deployed to Integration Server, edit the Require-Bundle key from the bnd.bnd file by adding the following entry:
com.softwareag.applatform.pls.security, com.softwareag.applatform.
pls.security.is
The com.softwareag.applatform.pls.security entry is a security bundle, which ensures that the SSO support can be enabled for this POJO service and resolves the AppPlatformSecurityFilter class.
6. Optional. If you are configuring an Application Platform project created in version 9.9 or earlier, redeploy your project to a runtime, configured in a later release of Application Platform than version 9.9.
Related Topics
Valve-Based Security