Spring-security in a new file