mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-23 12:32:13 +00:00
SEC-2650: Fix Jetty Warn NoInitialContextException on shutdown
This commit is contained in:
parent
b13603f480
commit
dd0253048e
@ -57,5 +57,7 @@ task casServer (type: org.gradle.api.plugins.jetty.JettyRunWar, dependsOn: 'casS
|
|||||||
doFirst() {
|
doFirst() {
|
||||||
System.setProperty('javax.net.ssl.trustStore', keystore)
|
System.setProperty('javax.net.ssl.trustStore', keystore)
|
||||||
System.setProperty('javax.net.ssl.trustStorePassword', password)
|
System.setProperty('javax.net.ssl.trustStorePassword', password)
|
||||||
|
System.setProperty('java.naming.factory.url.pkgs','org.mortbay.naming')
|
||||||
|
System.setProperty('java.naming.factory.initial','org.mortbay.naming.InitialContextFactory')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user