Use Play.application.classloader to load hostnameVerifierClass, change parser to use "ws.ssl.hostnameVerifierClass" and change SSLConfig to take a class instead of a String.