diff --git a/build.gradle b/build.gradle
index aa67315..f622ee5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -152,25 +152,6 @@ project('spring-security-kerberos-test') {
}
}
-project('spring-security-kerberos-sample') {
- apply plugin: 'jetty'
- description = 'Spring Security Kerberos Sample'
- dependencies {
- compile "org.springframework:spring-core:$springVersion"
- compile "org.springframework:spring-beans:$springVersion"
- compile "org.springframework:spring-aop:$springVersion"
- compile "org.springframework:spring-expression:$springVersion"
- compile "org.springframework:spring-context:$springVersion"
- compile "org.springframework:spring-tx:$springVersion"
- compile "org.springframework:spring-jdbc:$springVersion"
- compile "org.springframework:spring-web:$springVersion"
- compile project(":spring-security-kerberos-core")
- compile("javax.servlet:servlet-api:$servletApi2Version", provided)
- compile("org.springframework.security:spring-security-config:$springSecurityVersion")
- compile("log4j:log4j:$log4jVersion")
- }
-}
-
project('spring-security-kerberos-samples-common') {
dependencies {
compile project(":spring-security-kerberos-core")
diff --git a/settings.gradle b/settings.gradle
index 0f08568..c7eca24 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -3,7 +3,6 @@ rootProject.name = 'spring-security-kerberos'
include 'spring-security-kerberos-core'
include 'spring-security-kerberos-client'
include 'spring-security-kerberos-test'
-include 'spring-security-kerberos-sample'
include 'spring-security-kerberos-samples'
include 'spring-security-kerberos-samples:sec-server-client-auth'
include 'spring-security-kerberos-samples:sec-server-spnego-form-auth'
diff --git a/spring-security-kerberos-sample/src/main/java/org/springframework/security/extensions/kerberos/sample/DummyUserDetailsService.java b/spring-security-kerberos-sample/src/main/java/org/springframework/security/extensions/kerberos/sample/DummyUserDetailsService.java
deleted file mode 100644
index ce8dbfd..0000000
--- a/spring-security-kerberos-sample/src/main/java/org/springframework/security/extensions/kerberos/sample/DummyUserDetailsService.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- * Copyright 2009 the original author or authors.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.springframework.security.extensions.kerberos.sample;
-
-import org.springframework.dao.DataAccessException;
-import org.springframework.security.core.authority.AuthorityUtils;
-import org.springframework.security.core.userdetails.User;
-import org.springframework.security.core.userdetails.UserDetails;
-import org.springframework.security.core.userdetails.UserDetailsService;
-import org.springframework.security.core.userdetails.UsernameNotFoundException;
-
-/**
- * Implementation of {@link UserDetailsService} which just returns the a new {@link User}
- * with username equals the provided username and ROLE_USER as granted authority.
- *
- * Useful if you don't know the exact username and just want to see if Kerberos works
- *
- * @author Mike Wiesner
- * @since 1.0
- * @version $Id$
- */
-public class DummyUserDetailsService implements UserDetailsService {
-
-
- /* (non-Javadoc)
- * @see org.springframework.security.core.userdetails.UserDetailsService#loadUserByUsername(java.lang.String)
- */
- public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException {
- return new User(username, "notUsed", true, true,true,true, AuthorityUtils.createAuthorityList("ROLE_USER"));
- }
-
-}
diff --git a/spring-security-kerberos-sample/src/main/resources/log4j.properties b/spring-security-kerberos-sample/src/main/resources/log4j.properties
deleted file mode 100644
index d0f5507..0000000
--- a/spring-security-kerberos-sample/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-log4j.rootLogger=DEBUG, stdout
-
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%m %n
-log4j.category.org.springframework.jdbc.datasource=DEBUG
-
-# log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - <%m>%n
-
-
\ No newline at end of file
diff --git a/spring-security-kerberos-sample/src/main/webapp/WEB-INF/kerberos.properties b/spring-security-kerberos-sample/src/main/webapp/WEB-INF/kerberos.properties
deleted file mode 100644
index 5e24b68..0000000
--- a/spring-security-kerberos-sample/src/main/webapp/WEB-INF/kerberos.properties
+++ /dev/null
@@ -1,22 +0,0 @@
-# These settings are always needed
-# ================================
-
-krb.debug=true
-
-
-# These settings are only needed for SPNEGO Authentication
-# ========================================================
-
-krb.service.prinicipal=HTTP/web.springsource.com
-
-# Setting keyTabLocation to a classpath resource will most likely not work in a Java EE application Server
-# See the Javadoc of SunJaasKerberosTicketValidator for more information on that
-krb.keytab.location=file:/etc/web-springsource-com.keytab
-
-
-# These settings are only needed for server side Kerberos Authentication
-# ======================================================================
-
-# No Prefix is supported in krb.conf.location. It must always be an absolute path.
-krb.conf.location=/etc/krb5.conf
-
diff --git a/spring-security-kerberos-sample/src/main/webapp/WEB-INF/sample-krb.conf b/spring-security-kerberos-sample/src/main/webapp/WEB-INF/sample-krb.conf
deleted file mode 100644
index ceec22e..0000000
--- a/spring-security-kerberos-sample/src/main/webapp/WEB-INF/sample-krb.conf
+++ /dev/null
@@ -1,6 +0,0 @@
-[libdefaults]
- default_realm = SPRINGSOURCE.COM
-[realms]
- SPRINGSOURCE.COM = {
- kdc = kdc.springsource.com
- }
\ No newline at end of file
diff --git a/spring-security-kerberos-sample/src/main/webapp/WEB-INF/server-side-kerberos.xml b/spring-security-kerberos-sample/src/main/webapp/WEB-INF/server-side-kerberos.xml
deleted file mode 100644
index 09dfd55..0000000
--- a/spring-security-kerberos-sample/src/main/webapp/WEB-INF/server-side-kerberos.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-