Class BlindApplicationTrustManager
- java.lang.Object
-
- org.opends.admin.ads.util.ApplicationTrustManager
-
- org.opends.guitools.controlpanel.util.BlindApplicationTrustManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class BlindApplicationTrustManager extends ApplicationTrustManager
An application trust manager that accepts all the certificates.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opends.admin.ads.util.ApplicationTrustManager
ApplicationTrustManager.Cause
-
-
Constructor Summary
Constructors Constructor Description BlindApplicationTrustManager()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] chain, String authType)voidcheckServerTrusted(X509Certificate[] chain, String authType)BlindApplicationTrustManagercreateCopy()Creates a copy of this ApplicationTrustManager.X509Certificate[]getAcceptedIssuers()-
Methods inherited from class org.opends.admin.ads.util.ApplicationTrustManager
acceptCertificate, getLastRefusedAuthType, getLastRefusedCause, getLastRefusedChain, getX509TrustManager, resetLastRefusedItems, setHost
-
-
-
-
Method Detail
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkClientTrustedin interfaceX509TrustManager- Overrides:
checkClientTrustedin classApplicationTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
- Specified by:
checkServerTrustedin interfaceX509TrustManager- Overrides:
checkServerTrustedin classApplicationTrustManager- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager- Overrides:
getAcceptedIssuersin classApplicationTrustManager
-
createCopy
public BlindApplicationTrustManager createCopy()
Description copied from class:ApplicationTrustManagerCreates a copy of this ApplicationTrustManager.- Overrides:
createCopyin classApplicationTrustManager- Returns:
- a copy of this ApplicationTrustManager.
-
-