users@glassfish.java.net

Custom realm stop working on "glassfish-installer-v2ur1-b09d-linux"

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Feb 2008 04:03:50 PST

Hi! I have a problem with my custom realm, which works fine in old glassfish (glassfish-installer-v2-b58c). (I've created it year or more ago, using this manual: http://developers.sun.com/appserver/reference/techart/as8_authentication/index.html ).
Now, I've decided to install new glassfish version, install my realm, and when I am trying to view it in my web-based GUI, I can see error in server.log:

-----------------------
The FileRealm classname, "org.companyname.auth.sun.realms.SQLRealm" does not extend "com.sun.enterprise.security.auth.realm.file.FileRealm".|#]
-----------------------

Is this a bug? (I've pointed realm class on org.companyname.auth.sun.realms.SQLRealm of course.)

Next one:
When I am trying to launch some web-script, which use this auth-tion:

-----------------------
[#|2008-02-25T16:52:01.808+0200|INFO|sun-appserver9.1|javax.enterprise.system.core.security|_ThreadID=23;_ThreadName=httpSSLWorkerThread-8001-0;|SQLLoginModule: login succeeded for username|#]
-----------------------
but access to resource is denied. In old glassfish works fine, as I told before.

more detailed log, realm java sources in attachment.
[Message sent by forum member 'constantinius' (constantinius)]

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