org.ldaptive.ssl
Class DefaultTrustManager
java.lang.Object
org.ldaptive.ssl.DefaultTrustManager
- All Implemented Interfaces:
- TrustManager, X509TrustManager
public class DefaultTrustManager
- extends Object
- implements X509TrustManager
Loads the trust managers from the default TrustManagerFactory and
delegates to those.
- Version:
- $Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
- Author:
- Middleware Services
|
Field Summary |
protected org.slf4j.Logger |
logger
Logger for this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.slf4j.Logger logger
- Logger for this class.
DefaultTrustManager
public DefaultTrustManager()
- Creates a new default trust manager.
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain,
String authType)
throws CertificateException
-
- Specified by:
checkClientTrusted in interface X509TrustManager
- Throws:
CertificateException
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain,
String authType)
throws CertificateException
-
- Specified by:
checkServerTrusted in interface X509TrustManager
- Throws:
CertificateException
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
-
- Specified by:
getAcceptedIssuers in interface X509TrustManager
Copyright © 2003-2015 Virginia Tech. All Rights Reserved.