Hi Jürgen!

Juergen Weber wrote:
Listening on a socket is kind of misbehaviour for web applications. It
were better if the app server would control the socket listener.

See http://issues.apache.org/bugzilla/show_bug.cgi?id=39862

This is really interesting!

Please note that the described example is just a case study on how simple it is to embed ApacheDS. One option to mitigate this misbehavior would be to simply not start the network protocol, and interact with ApacheDS solely in process like the RootDseServlet in the example does.

But for the sake of an impressive example, I would opt on opening the network port ;-)

My favorite integration option for Tomcat would be a ApacheDSRealm anyway (Realm implementation with embedded ApacheDS), which uses an embedded ApacheDS for authentication/authorization. But this is another story (maybe later this year ...).

Greetings from Hamburg,
    Stefan

Reply via email to