Hello Martin,

 

 There is no way you can store user info with slide software components. Not
directly anyway.

 I can think of 2 possible indirect solutions for storing user information.
But in any of these solutions you should use the Slide events feature for
automation purposes. As you proposed, to know witch files were recently
accessed by the user has its safest implementation on the server side. And
to do it on server side, you must change or extend the code (I don't
recommend), or you must listen events (ex: 'file was read'), and trigger
actions (ex: 'update user info') thereafter. These trigger actions could be
the following:

 

*         By creating special files for each user, and storing content (xml
content for example) with the user relevant information in the slide
repository - similar with what it is done in unix or linux in .bashrc,
.bash_profile files. Alternatively, you could PROPPATCH a existing file or
directory with an xml document containing the user info.

*         By creating a database schema, and storing the information there.

 

 You can find information about slide events on this link:

 
http://jakarta.apache.org/slide/javadoc/org/apache/slide/event/package-summa
ry.html 

 

Hope this helps,

Miguel Figueiredo

 

 

-----Original Message-----
From: Martin Petras [mailto:[EMAIL PROTECTED] 
Sent: sexta-feira, 10 de Novembro de 2006 16:54
To: Slide Users Mailing List
Subject: How to store user data

 

Hi all,

can you advise me how to store user info? For instance I need to store 

the info about which files was recently accessed by user.

I use JNDIPrincipalStore with connection to LDAP to handle users and 

roles. JNDIPrincipalStore is readonly, so I can not write the user data 

to i.e. /users/john/lru_files.txt.

 

Thanks.

 

____________________________________

*/Martin Petráš/*

Java Developer Junior

 

*/S&K Management Systems, s.r.o./*

Záhradnícka 72, SK-821 08 Bratislava

e-mail: petras //at character// skms.sk , www.skms.sk <http://www.skms.sk>

 

 

<http://www.skms.sk>

 

 

 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to