Jump to: navigation, search

CDO/Net4j Authentication

Revision as of 05:30, 2 October 2008 by Tom.schindl.bestsolution.at (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

In most enterprise application a user has to authentificate against the webserver, CDO application are not different in this aspect. So naturally CDO and Net4J provide a possibility to authentificate.


Server configuration

If you are configuring your server using cdo-server.xml and providing authentification against a simple text file is as simple as uncommenting the following lines:

<acceptor type="tcp" listenAddr="" port="2036">
  <negotiator type="challenge" description="/tmp/users.db"/>

The value is the path to the user/password-File the authentification is done against. In this simple case the file is a Property-File and looks like this: