mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-01-27 08:46:59 +00:00
18 lines
455 B
Groovy
18 lines
455 B
Groovy
// Preauth sample build file
|
|
|
|
apply plugin: 'war'
|
|
apply plugin: 'jetty'
|
|
|
|
dependencies {
|
|
|
|
runtime project(':spring-security-web'),
|
|
project(':spring-security-config'),
|
|
"org.slf4j:jcl-over-slf4j:$slf4jVersion",
|
|
"ch.qos.logback:logback-classic:$logbackVersion"
|
|
}
|
|
|
|
jettyRun {
|
|
contextPath = "/preauth"
|
|
userRealms = [new org.mortbay.jetty.security.HashUserRealm('Preauth Realm', "$projectDir/realm.properties")]
|
|
}
|