O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Programming to the Caching Realm in Web Applications

You might need to access the caching realm in order to modify the security realm, for operations such as adding users to your Web application. You also might want to allow users to register themselves and automatically log into the system. So far, we have only described how to add users through the WebLogic Server console.

In this section, we expand the form-based authorization example to include programmatic access to the caching realm. We then configure and deploy the expanded example using the RDBMS and the caching realm together.

The Realm API

The WebLogic Server realm API can be accessed from your Web application code. First, your application acquires an instance of the current caching ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required