| | |
| | | import javax.net.ssl.TrustManager; |
| | | import javax.net.ssl.X509TrustManager; |
| | | |
| | | import org.opends.server.admin.std.server.TrustManagerCfg; |
| | | import org.opends.server.admin.std.server.BlindTrustManagerCfg; |
| | | import org.opends.server.api.TrustManagerProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.DirectoryException; |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class provides an implementation of a trust manager provider that will |
| | | * indicate that any certificate presented should be blindly trusted by the |
| | |
| | | * trustworthy. |
| | | */ |
| | | public class BlindTrustManagerProvider |
| | | extends TrustManagerProvider<TrustManagerCfg> |
| | | extends TrustManagerProvider<BlindTrustManagerCfg> |
| | | implements X509TrustManager |
| | | { |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this blind trust manager provider. The |
| | | * <CODE>initializeTrustManagerProvider</CODE> method must be called on the |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public void initializeTrustManagerProvider(TrustManagerCfg configuration) |
| | | public void initializeTrustManagerProvider(BlindTrustManagerCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No implementation is required. |