Page 1 of 1

MS SQL Authentication - user.properties exception

PostPosted:Fri Jul 11, 2008 12:49 am
by 955
Hi Team

I have OpenKM/JBoss authenticating correctly against my MS SQL database. I\'ve renamed the default openkm-users.properties and openkm-roles.properties files to prove everything was working OK.

Login works as expected but I keep getting this exception on OpenKM actions.
Code: Select all
12:46:36,757 ERROR [STDERR] java.io.FileNotFoundException: C:\\OpenKM\\OpenKM-2.0_JBoss-4.2.2.GA\\server\\default\\conf\\props\\openkm-users.properties (The
system cannot find the file specified)
Obviously...this is as expected as the properties file has bene renamed but why is OpenKM still referencing user.properties when I\'ve switched to database authentication? Which method haven\'t I properly updated?
I notice under the security tab in OpenKM no users are listed so I assume I\'ve missed a step!

Re:MS SQL Authentication - user.properties excepti

PostPosted:Fri Jul 11, 2008 6:12 am
by jllort
Yes you need one step more.

Extend class principalAdapter with your own class to get users and roles from your table structure.

Search on this forum \"principalAdapter\" and take a look at documentation specially the openkm configuration section.

You\'ll need to compile project :( take a look at developer guide too.