dev@glassfish.java.net

The JDBCRealm Howto

From: Dyego Souza Dantas Leal <dyego.leal_at_gmail.com>
Date: Wed, 17 May 2006 10:37:15 -0300
I want to change from JBoss to GlassFish... but ONE QUESTION is unasked to compleate this change...


In tomcat , i have context.xml with this lines:

<Context debug="0" reloadable="true" >
      <Realm className="org.apache.catalina.realm.JDBCRealm" debug="0"
                  driverName="com.mysql.jdbc.Driver"
                  connectionURL="jdbc:mysql://localhost:3306/mydb"
                  connectionName="root" connectionPassword="nopass"
                  userTable="databaseUser.user" userNameCol="us_Login" userCredCol="us_Pass"
                  userRoleTable="user_roles" roleNameCol="us_role" digest="MD5"/>
</Context>
In GlassFIsh... how to enable JDBCRealm ?
Any example ?


I running GlassFish v2 b01

Tnks !


-- 



-------------------------------------------------------------------------
++  Dyego Souza Dantas Leal   ++           Dep. Desenvolvimento   -------------------------------------------------------------------------
              E S C R I B A   I N F O R M A T I C A
       ***        http://javacoffe.blogspot.com        ***
-------------------------------------------------------------------------
The only stupid question is the unasked one (somewhere in Linux's HowTo)
Linux registred user : #230601
--                                        ICQ   : 1647350
$ look into "my eyes"                     Phone : +55 041 2106-1212   
look: cannot open my eyes                 Fax   : +55 041 3296-6640     -------------------------------------------------------------------------
            Reply: dyego@escriba.com.br