Using Google Map API you can create a personalized map which can be easily integrated in any web application.

The process consists in 2 major steps:
1. Create a map with a default view, controls and center coordinates
2. Populating the map with different overlays

Our example:
MonALISA Repository for ALICE
(more…)

Sometimes it’s easier to use server based authentication than to implement your own authentication. Just write some lines in some xml and everything works.
But what if your users don’t respect all the rules for a standard tomcat authentication?

The smart guys from Tomcat have a solution for that. You can write your own Realm Authentication.

In my case I needed a SSL + LDAP authentication. Tomcat has standard authentication for each one, but not combined.
The SSL certificate provides an username that must be verified in the LDAP (if the user has the right permissions).

A Realm authentication is defined by the org.apache.catalina.Realm interface. But it’s easier to extend RealmBase and override some methods instead of implementing Realm.

(more…)