users@glassfish.java.net

Re: creating datasource, realm, login-module in application

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jul 2008 23:20:23 PDT

If you have registered a realm named xyz via the admin console then in your web.xml under the login-config you can specify the name of the realm.

        <login-config>
        <auth-method>BASIC</auth-method>
        <realm-name>xyz</realm-name>
        </login-config>
[Message sent by forum member 'kumarjayanti' (kumarjayanti)]

http://forums.java.net/jive/thread.jspa?messageID=288919