Tag Archives: HowTo

Tutorial: Authentication with Tomcat 6 using JNDI DataSourceRealm

Tutorial: Authentication with Tomcat 6 using JNDI DataSourceRealm

This article is a tutorial about how to implement an authentication mechanism in Apache Tomcat 6 by using a JNDI datasource for looking up users, their passwords and roles. It shows how to prepare Tomcat 6 for using a so called DataSourceRealm and describes how web applications can be secured by a security realm. The [...]

The capability to invoke custom validation methods

The capability to invoke custom validation methods

From now on, I offer you my validation framework in version 1.0.0.c. I hope this version will become the final release.

HowTo: DBCP im Apache Tomcat 6

Was ist DBCP? Das Kürzel DBCP steht für Database Connection Pool.  Ein DBCP ist in der Regel eine sich selbst verwaltende Einheit in der Datenzugriffsschicht eines Programms (Server/Anwendung). Ein DBCP bietet eine konfigurierbare Menge von Datenbankverbindungen an, welche von einer Anwendung on demand benutzt werden können. Nach der Benutung muss die Anwendung die Connection freigeben, [...]