-
-
Save junaidk/237e49c36b3752a29597 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package hello | |
import HelloWorldApp._ | |
//remove if not needed | |
import scala.collection.JavaConversions._ | |
object HelloWorldApp { | |
def main(args: Array[String]) { | |
println("Hello World!") | |
} | |
} | |
class HelloWorldApp { | |
var trustAllCerts: Array[TrustManager] = Array(new X509TrustManager() { | |
def getAcceptedIssuers(): Array[java.security.cert.X509Certificate] = new Array[TrustManager](0) | |
def checkClientTrusted(certs: Array[java.security.cert.X509Certificate], authType: String) { | |
} | |
def checkServerTrusted(certs: Array[java.security.cert.X509Certificate], authType: String) { | |
} | |
}) | |
} |
mukrram-bajwa
commented
Feb 13, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment