i have tried to use:
<store name="tx">
<securitystore classname="org.apache.slide.store.impl.rdbms.JDBCStore">         
      <parameter 
name="adapter">org.apache.slide.store.impl.rdbms.MySql41RDBMSAdapter</parameter>
      <parameter name="driver">com.mysql.jdbc.Driver</parameter>
      <parameter name="url">jdbc:mysql://localhost/slidestore</parameter>
      <parameter name="user">root</parameter>
      <parameter name="password">mysql</parameter>
      <parameter name="dbcpPooling">true</parameter>
      <parameter name="maxPooledConnections">3</parameter>
      <parameter name="isolation">SERIALIZABLE</parameter>
    <parameter name="compress">false</parameter>
  </securitystore>
</store>

and create a new DataBaseLoginModule to query user's information from database,

but the slide's realm: wrappers.catalina.SlideRealm is using the domain.xml,
if i modify the code in it, there's lots of code need to be changed, how can i 
do that to check user's permission in db instead of domain.xml?
or if there someone has finished it yet?

your help will be great appreciated.


----- Original Message ----- 
From: "Jeroen Reijn" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <[email protected]>
Sent: Friday, September 16, 2005 3:52 PM
Subject: Re: how to config slide to use acl in db?


> Hi efis,
> 
> you will need to configure a JDBCStore.
> 
> For an example how to configure the store take a look at
> http://jakarta.apache.org/slide/howto-j2eestore.html and look at the 
> MySQLStore
> definition.
> 
> Regards,
> 
> Jeroen
> 
> 
> 
> 
> 
> efis wrote:
>> i'm a beginner of slide, and now i'm trying to save the user information 
>> like username, password, and acl settings in db instead of xml, how can i do 
>> that?
>> 
>> anyone can help? thanks
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to