[Version 5.0.2 and later]Updating and redeploying secured applications

Before you begin

Before you perform this task, secure Web applications, secure EJB applications, and deploy them in WebSphere Application Server. This section addresses the way to update existing applications.

Why and when to perform this task

Steps for this task

  1. Use the administrative console to modify the existing users and groups mapping to roles.
    The task titled Assigning users and groups to roles details the required steps.
  2. Use the administrative console to modify the users for the RunAs roles.
    The task entitled, Assigning users to RunAs roles details the required steps.
  3. Complete the changes and save them.
  4. Stop and restart the application for the changes to become effective.
  5. [5.0 only][Version 5.0.1]Use the Application Assembly Tool (AAT) to update any other security related information.
  6. [Version 5.0.2 and later]Use the Assembly Toolkit to update any other security related information.
  7. [5.0 only][Version 5.0.1]Use the Application Assembly Tool (AAT) to modify roles, method permissions, auth-constraints, data-constraints and so on.
  8. [Version 5.0.2 and later]Use the Assembly Toolkit to modify roles, method permissions, auth-constraints, data-constraints and so on.
  9. Save the Enterprise Archive (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.

Example

What to do next

If information about roles is modified make sure you update the user and group information using the administrative console. Once the secured applications are modified and either restarted or redeployed, make sure that the changes are effective by accessing the resources in the application.

Related tasks
Assigning users and groups to roles
Assigning users to RunAs roles
Related reference
Security role references assembly settings[5.0 only][Version 5.0.1][Version 5.0.2]
Security: Resources for learning



Searchable topic ID:   tsecupdeploy
Last updated: Jun 21, 2007 4:12:58 PM CDT    WebSphere Application Server Express, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.exp.doc/info/exp/ae/tsec_updeploy.html

Library | Support | Terms of Use | Feedback