| | |
| | | try { |
| | | CryptoManager.publishInstanceKeyEntryInADS(); |
| | | } |
| | | catch (CryptoManager.CryptoManagerException ex) { |
| | | catch (CryptoManagerException ex) { |
| | | throw new InitializationException(ex.getMessageObject()); |
| | | } |
| | | DirectoryServer.registerBackendInitializationListener(this); |
| | |
| | | DirectoryServer.getCryptoManager().importMacKeyEntry(searchEntry); |
| | | } |
| | | } |
| | | catch (CryptoManager.CryptoManagerException e) |
| | | catch (CryptoManagerException e) |
| | | { |
| | | throw new DirectoryException( |
| | | DirectoryServer.getServerErrorResultCode(), e); |
| | |
| | | DirectoryServer.getCryptoManager().importMacKeyEntry(entry); |
| | | } |
| | | } |
| | | catch (CryptoManager.CryptoManagerException e) |
| | | catch (CryptoManagerException e) |
| | | { |
| | | Message message = Message.raw("Failed to import key entry: %s", |
| | | e.getMessage()); |
| | |
| | | DirectoryServer.getCryptoManager().importMacKeyEntry(newEntry); |
| | | } |
| | | } |
| | | catch (CryptoManager.CryptoManagerException e) |
| | | catch (CryptoManagerException e) |
| | | { |
| | | Message message = Message.raw("Failed to import modified key entry: %s", |
| | | e.getMessage()); |