| | |
| | | keyStoreFile = configuration.getKeyStoreFile(); |
| | | try { |
| | | File f = getFileForPath(keyStoreFile); |
| | | if (!(f.exists() && f.isFile())) { |
| | | if (!f.exists() || !f.isFile()) { |
| | | throw new InitializationException(ERR_FILE_KEYMANAGER_NO_SUCH_FILE.get(keyStoreFile, configEntryDN)); |
| | | } |
| | | } catch (SecurityException e) { |
| | |
| | | try |
| | | { |
| | | File f = getFileForPath(newKeyStoreFile); |
| | | if (!(f.exists() && f.isFile())) |
| | | if (!f.exists() || !f.isFile()) |
| | | { |
| | | unacceptableReasons.add(ERR_FILE_KEYMANAGER_NO_SUCH_FILE.get(newKeyStoreFile, cfgEntryDN)); |
| | | configAcceptable = false; |
| | |
| | | try |
| | | { |
| | | File f = getFileForPath(newKeyStoreFile); |
| | | if (!(f.exists() && f.isFile())) |
| | | if (!f.exists() || !f.isFile()) |
| | | { |
| | | ccr.setResultCode(DirectoryServer.getServerErrorResultCode()); |
| | | ccr.addMessage(ERR_FILE_KEYMANAGER_NO_SUCH_FILE.get(newKeyStoreFile, configEntryDN)); |