Book Image

Securing WebLogic Server 12c

Book Image

Securing WebLogic Server 12c

Overview of this book

Security is a must in modern Enterprise architecture, and WebLogic implements a very complete and complex architecture for configuration and implementation, and we need to deeply know in technologies, terminology and how the security process works between all actors. Transparent security of your applications and Weblogic infrastructure need a good knowledge of the issues you can incur in this long and error prone configuration process. "Securing WebLogic Server 12c" will simplify a complex world like WebLogic Security, helping the reader to implement and configure. It's the only fast guide that will let you develop and deploy in a production system with best practices both from the development world and the operation world. This book will try to make a clear picture of Java EE Security with clean and simple step-by-step examples that will guide the reader to security implementation and configuration From the concepts of Java EE Security to the development of secure application, from the configuration of a realm to the setup of Kerberos Single Sign on, every concept is expressed in simple terms and surrounded by examples and pictures. Finally, also a way to develop WebLogic Security Providers with Maven, so that you can add the security part of your infrastructure to your enterprise best practices.
Table of Contents (12 chapters)

Setting up an Enterprise Maven project


Now we will create, step-by-step, a secure application using Maven, the Oracle Maven plugin, and of course the WebLogic server. A prerequisite for this is that Maven 3 should be installed and properly configured. See the official Maven site for information about how to download and install Maven, at http://maven.apache.org.

Creating the modules with maven-archetype-plugin

The following are the steps we need to follow to create the application that we will be using during this chapter:

  1. Create the parent Project Object Model (POM) by navigating to the project folder from the command-line tool and launching the following command:

    mvn archetype:generate -Dversion=1.0-SNAPSHOT -DgroupId=net.lucamasini.security -DartifactId=chapter3 -DarchetypeArtifactId=pom-root -DarchetypeGroupId=org.codehaus.mojo.archetypes
    
  2. Navigate to the newly created chapter3 folder using the command-line tool and create the EAR module, as follows:

    mvn archetype:generate -Dversion=1.0...