List Info

Thread: resend: using user database




resend: using user database
user name
2006-04-05 18:30:07
One alternative is to use Database store for /users and
/roles (or wherever
you mount users and roles inside slide).

However, as the way slide stores its files is a little
convoluted; this will
not give you a very simple table structure where you can
easily query users
or roles from SQL directly.

For a better access, a better alternative may be to write a
custom database
adapter.

I have been able to solve a similar issue by doing the
following "hack" :

A) set up your slide to work on a separate security realm
inside tomcat.
B) let slide autocreate all authenticated users

This works very well in the sense  that you can have a
database structure
for users as you like and have only authenticated users come
thru to slide.

Sadly, it does not work for roles and all users created this
way  end up
having same roles.

Tarun

> -----Original Message-----
> From: Ha Pham [mailto:haphamcs.utah.edu] 
> Sent: Wednesday, April 05, 2006 10:47 AM
> To: Slide Users Mailing List; slide-devjakarta.apache.org
> Subject: resend: using user database
> 
> Dear all,
> 
> Sorry for reraising this question, I hope some of you
have 
> faced this. Please help me. My question is: how to use
DBMS 
> user account/role in Slide ? (I have a user account
database 
> in mySQL and would like to use in Slide to replace the
user 
> accounts set on Domain.xml). 
> 
> Thank you,
> HaPham
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribejakarta.apache.org
For additional commands, e-mail: slide-user-helpjakarta.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )