Securing a web application with basic authentication

WebLogic Security services allow the WebLogic Administrator to add declarative security roles and policies to WebLogic resources such as web applications, EJBs, and other resources without making changes to the source code or to the file descriptors of the application.

In this recipe, a hypothetical myAuthApp.war web application will be deployed and configured to be accessed only by the users from the PRODSQLProvider that are members of the group myAuthGroup.

Getting ready

An application file named myAuthApp.war will be deployed and configured using the Administration Console, so make sure the Administration Server is running.

How to do it...

Deploy myAuthApp.war to PROD_Cluster:

  1. Create a new application ...

Get Oracle WebLogic Server 12c Advanced Administration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.