users@glassfish.java.net

Re: Problem logging into GF Admin Console

From: <glassfish_at_javadesktop.org>
Date: Tue, 16 Feb 2010 06:54:25 PST

Thanks for the help!

I solved it by adding the Realms in the GlassFish login.conf to the Fedora's equivalent jaas.conf (security configuration file) so it still kept the default GlassFish login configuration when Fedora redefines the configuration, like this:

/* Copyright 2004 Sun Microsystems, Inc. All rights reserved. */
/* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */

fileRealm {
        com.sun.enterprise.security.auth.login.FileLoginModule required;
};

ldapRealm {
        com.sun.enterprise.security.auth.login.LDAPLoginModule required;
};

solarisRealm {
        com.sun.enterprise.security.auth.login.SolarisLoginModule required;
};

jdbcRealm {
        com.sun.enterprise.security.auth.login.JDBCLoginModule required;
};
[Message sent by forum member 'eliao' (the.eric.liao_at_gmail.com)]

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