enable provider (like FGCP) specific subclasses to reuse these static classes

This commit is contained in:
Dies Koper 2012-07-06 13:01:20 +10:00
parent 6f81d8d0d3
commit 90df3a1e51
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ public class SSLModule extends AbstractModule {
* @author Adrian Cole
*/
@Singleton
static class LogToMapHostnameVerifier implements HostnameVerifier {
public static class LogToMapHostnameVerifier implements HostnameVerifier {
@Resource
private Logger logger = Logger.NULL;
private final Map<String, String> sslMap = Maps.newHashMap();;
@ -104,7 +104,7 @@ public class SSLModule extends AbstractModule {
* @author Adrian Cole
*/
@Singleton
static class TrustAllCerts implements X509TrustManager {
public static class TrustAllCerts implements X509TrustManager {
public X509Certificate[] getAcceptedIssuers() {
return null;
}