This commit is contained in:
Naoki Takezoe
2018-07-18 13:44:59 +09:00
parent a02f020626
commit d4a9a2b2ee

View File

@@ -126,7 +126,7 @@ object LDAPUtil {
private def getSslProvider(): Provider = {
val cachedInstance = provider.get()
if(cachedInstance == null){
if (cachedInstance == null) {
val newInstance = Class.forName("com.sun.net.ssl.internal.ssl.Provider").newInstance().asInstanceOf[Provider]
provider.compareAndSet(null, newInstance)
newInstance