WAS v8.5 > Secure applications > Secure web applications > Web application security components and settings > Secure applications during assembly and deploymentUpdate and redeploying secured applications
This section addresses the way to update existing applications.
Before you perform this task, secure web applications, secure EJB applications, and deploy them in WebSphere Application Server.
- Use the dmgr console to modify the existing users and groups mapping to roles. For information on the required steps, see Assigning users and groups to roles.
- Use the dmgr console to modify the users for the RunAs roles. For information on the required steps, see Assigning users to RunAs roles .
- Complete and save the changes.
- Stop and restart the application for the changes to become effective.
- Use an assembly tool. For more information, see Assemble applications.
- Use an assembly tool to modify roles, method permissions, auth-constraints, data-constraints and so on. For more information, see Assemble applications.
- Save the EAR file, uninstall the old application, deploy the modified application and start the application to make the changes effective.
Results
The applications are modified and redeployed. This step is required to modify existing secured applications.
If information about roles is modified, verify you update the user and group information using the dmgr console. After the secured applications are modified and either restarted or redeployed, verify the changes are effective by accessing the resources in the application.
Related
Secure applications during assembly and deployment
Assigning users and groups to roles
Assigning users to RunAs roles
Reference:
Security: Resources for learning