This is a same sample than Chapter 8, Security Server Spnego and Form Auth Sample but using xml based configuration instead of JavaConfig.
Run a server.
$ java -jar sec-server-spnego-form-auth-xml-1.0.0.RELEASE.jar