| | |
| | | */ |
| | | public BlindTrustManagerProvider() |
| | | { |
| | | |
| | | // No implementation is required. |
| | | } |
| | | |
| | |
| | | public void initializeTrustManagerProvider(ConfigEntry configEntry) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | |
| | | // No implementation is required. |
| | | } |
| | | |
| | |
| | | */ |
| | | public void finalizeTrustManagerProvider() |
| | | { |
| | | |
| | | // No implementation is required. |
| | | } |
| | | |
| | |
| | | public TrustManager[] getTrustManagers() |
| | | throws DirectoryException |
| | | { |
| | | |
| | | return new TrustManager[] { this }; |
| | | } |
| | | |
| | |
| | | */ |
| | | public void checkClientTrusted(X509Certificate[] chain, String authType) |
| | | { |
| | | |
| | | // As long as we don't throw an exception, then the client certificate will |
| | | // be considered trusted. |
| | | } |
| | |
| | | */ |
| | | public void checkServerTrusted(X509Certificate[] chain, String authType) |
| | | { |
| | | |
| | | // As long as we don't throw an exception, then the server certificate will |
| | | // be considered trusted. |
| | | } |
| | |
| | | */ |
| | | public X509Certificate[] getAcceptedIssuers() |
| | | { |
| | | |
| | | return new X509Certificate[0]; |
| | | } |
| | | } |