IRC Archive for channel #xwiki on 22 June 2008

Last modified by Vincent Massol on 2012/10/18 18:30

SaiKrishna - (22/06/2008 17:09): Hi David
lwilke - (22/06/2008 18:21): hi, is it possible to encrypt wiki pages when storing them in the database?
ludobot - (22/06/2008 18:21): lwilke: hi, is it possible to encrypt wiki pages when storing them in the database?
jvelociter - (22/06/2008 18:28): hi lwilke . Not natively
lwilke - (22/06/2008 18:35): jvelociter: hm, thanks. I see xwiki supports plugins, Would it be feasable to implement this via the plugin interface?
jvelociter - (22/06/2008 18:39): lwilke: I'm not 100% sure, but I think it could be doable via plugin only. You can be notified of document saves, so that would be the moment you encrypt. For decrypt, you want to do it at page view time, it might be done from the plugin, too. 
jvelociter - (22/06/2008 18:41): lwilke: another solution would be to decorate our hibernate store with the encryption mecanism
jvelociter - (22/06/2008 18:42): since the store is configurable from xwiki.cfg, you would not need to have a custom build
lwilke - (22/06/2008 18:51): jvelociter: that sounds interesting. I will have a look at the hibernate.cfg.xml then
lwilke - (22/06/2008 23:10): Uhm, can anyone help me please. I fail to get rid of this error 
lwilke - (22/06/2008 23:10): Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before
lwilke - (22/06/2008 23:10):  connection was unexpectedly lost
lwilke - (22/06/2008 23:10): tried some suggestions found via google but no solution yet
lwilke - (22/06/2008 23:11): i am running on debian 4.0 in a xen domU with mysql 5.0.22
lwilke - (22/06/2008 23:11): an mysql-connector-5.1.6
lwilke - (22/06/2008 23:11): with the current stable xwiki.war
lwilke - (22/06/2008 23:14): tomcat version is 5.5.26
lwilke - (22/06/2008 23:15): the whole thing boils down to: Could not create a DBCP pool
lwilke - (22/06/2008 23:16): Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before
lwilke - (22/06/2008 23:16):  connection was unexpectedly lost.
lwilke - (22/06/2008 23:35): never mind it seems to work with postgres 8-/

Get Connected