users@glassfish.java.net

Re: problem with custom realm

From: <glassfish_at_javadesktop.org>
Date: Tue, 27 May 2008 08:24:18 PDT

it looks like you may have attempted to redefine the "file" realm (since it was the default).
can you paste in the realm configuration info from domains/domainx/config/domain.xml

look for the element called security-service, and then paste in the list of realm configs that follow it. an attribute of the security-service element defines the default realm.

to bind you app to other than the default realm, you may need to define a sun-application.xmlm before you try that however, please try specifyin the configuration name of your custom realm in login-config.

Ron
[Message sent by forum member 'monzillo' (monzillo)]

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