Sun Java System Web Server 6.1 SP6 Programmer's Guide to Web Applications

Custom Realm

You can create a custom realm by providing a Java™ Authentication and Authorization Service (JAAS) login module and a realm implementation. Note that client-side JAAS login modules are not suitable for use with Sun Java System Web Server. For more information about JAAS, refer to the JAAS specification for Java 2 SDK, v1.4, available here:

http://java.sun.com/products/jaas/

A sample application that uses a custom realm is available with Sun Java System Web Server at the following location:

server_root/plugins/java/samples/webapps/security