preauth.gradle 455 B

1234567891011121314151617
  1. // Preauth sample build file
  2. apply plugin: 'war'
  3. apply plugin: 'jetty'
  4. dependencies {
  5. runtime project(':spring-security-web'),
  6. project(':spring-security-config'),
  7. "org.slf4j:jcl-over-slf4j:$slf4jVersion",
  8. "ch.qos.logback:logback-classic:$logbackVersion"
  9. }
  10. jettyRun {
  11. contextPath = "/preauth"
  12. userRealms = [new org.mortbay.jetty.security.HashUserRealm('Preauth Realm', "$projectDir/realm.properties")]
  13. }