BASIC Authentication in Websphere Application Server

1 ) Secure the application resources using the descriptor (web.xml)

<!DOCTYPE web-app PUBLIC “-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN” “”>
<web-app id=”WebApp”>











2) Deploy the application on Websphere Application Server.

3)  Go to

Enterprise Applications > Test_Basic_war > Security role to user/group mapping

You will see the application role configured in the web.xml. Map the users to this role from WAS Console.

Step 4) Go to

Security> Secure administration, applications, and infrastructure  and Check Enable application security.

Restart your Server.

Step 5) Access your application, you will be prompted for authentication.


Let us know if you face any issues.



Wonders Team

Latest Comments

  1. Alok Nayal September 2, 2011
    • Administrator September 17, 2011
  2. Alok Nayal November 28, 2011
  3. Ashwani December 27, 2014
    • Administrator April 8, 2015

Leave a Reply