You need a working Kerberos KDC and client configuration.
See MIT Kerberos for how to do this using the open source MIT Kerberos server.
Note: Type in the following between
The build uses Maven version 2.0.5.
See Source Repository.
Minimum properties which must be specified in your settings.xml:
<profile>
<id>spnego</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<test.unit.skip>false</test.unit.skip>
<test.int.skip>false</test.int.skip>
<test.kerberos.client.principal>test</test.kerberos.client.principal>
<test.kerberos.client.password>test01</test.kerberos.client.password>
<test.kerberos.realm>WOTIF.COM</test.kerberos.realm>
</properties>
</profile>All commands are on the command line from the spnego directory.
mvn clean install
If you get checkstyle errors it is because the build-tools are not installed.
These instructions assume the default configuration set up in the spnego pom.xml.
To start Glassfish and deploy the test application to it, along with configuration:
mvn pre-integration-test
The test URL is http://localhost:8080
The admin URl is http://locahost:4848
The username is $user.name and the password is "password".