users@glassfish.java.net

Re: Glassfish V3 custom realm issue

From: <glassfish_at_javadesktop.org>
Date: Tue, 09 Feb 2010 05:07:09 PST

This is a known issue. See https://glassfish.dev.java.net/issues/show_bug.cgi?id=11507 .

You can use the command line to create the realm. The syntax is as follows:
asadmin create-auth-realm --classname org.wamblee.glassfish.auth.FlexibleJdbcRealm FlexibleJdbcRealm

The create-auth-realm command also takes a '--property' argument, where you can specify realm specific properties (name/value pairs), separated by a ':'.
[Message sent by forum member 'nasradu8' (Sudarsan.Sridhar_at_sun.com)]

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