org.apache.hadoop.hdfs
Class HsftpFileSystem.DummyTrustManager

java.lang.Object
  extended by org.apache.hadoop.hdfs.HsftpFileSystem.DummyTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager
Enclosing class:
HsftpFileSystem

protected static class HsftpFileSystem.DummyTrustManager
extends Object
implements X509TrustManager

Dummy trustmanager that is used to trust all server certificates


Constructor Summary
protected HsftpFileSystem.DummyTrustManager()
           
 
Method Summary
 void checkClientTrusted(X509Certificate[] chain, String authType)
           
 void checkServerTrusted(X509Certificate[] chain, String authType)
           
 X509Certificate[] getAcceptedIssuers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsftpFileSystem.DummyTrustManager

protected HsftpFileSystem.DummyTrustManager()
Method Detail

checkClientTrusted

public void checkClientTrusted(X509Certificate[] chain,
                               String authType)
Specified by:
checkClientTrusted in interface X509TrustManager

checkServerTrusted

public void checkServerTrusted(X509Certificate[] chain,
                               String authType)
Specified by:
checkServerTrusted in interface X509TrustManager

getAcceptedIssuers

public X509Certificate[] getAcceptedIssuers()
Specified by:
getAcceptedIssuers in interface X509TrustManager


Copyright © 2009 The Apache Software Foundation