Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By : Dalton Iwazaki
Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By: Dalton Iwazaki

Overview of this book

Table of Contents (15 chapters)
Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 installation directory using the syntax: /oracle/applications/<environment>/<application>/<version>:

    [wls@prod01]$ mkdir -p /oracle/applications/prod/myAuthApp/v1
    [wls@prod01]$ cd /oracle/applications/prod/myAuthApp/v1
    
  2. Create...