spring security3: example tested