| | |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.BackupConfig; |
| | | import org.opends.server.types.Control; |
| | | import org.opends.server.crypto.CryptoManager; |
| | | import org.opends.server.crypto.CryptoManagerImpl; |
| | | import org.opends.server.types.DITContentRule; |
| | | import org.opends.server.types.DITStructureRule; |
| | | import org.opends.server.types.DN; |
| | |
| | | private CoreConfigManager coreConfigManager; |
| | | |
| | | // The crypto manager for the Directory Server. |
| | | private CryptoManager cryptoManager; |
| | | private CryptoManagerImpl cryptoManager; |
| | | |
| | | // The default compressed schema manager. |
| | | private DefaultCompressedSchema compressedSchema; |
| | |
| | | RootCfg root = |
| | | ServerManagementContext.getInstance().getRootConfiguration(); |
| | | CryptoManagerCfg cryptoManagerCfg = root.getCryptoManager(); |
| | | cryptoManager = new CryptoManager(cryptoManagerCfg); |
| | | cryptoManager = new CryptoManagerImpl(cryptoManagerCfg); |
| | | } |
| | | |
| | | |
| | |
| | | * |
| | | * @return A reference to the Directory Server crypto manager. |
| | | */ |
| | | public static CryptoManager getCryptoManager() |
| | | public static CryptoManagerImpl getCryptoManager() |
| | | { |
| | | return directoryServer.cryptoManager; |
| | | } |