Basic (not well structured, no comments) integration of spring security & data with a mysql db