* operations will be authenticated against this file realm by default.
* @see PEFileLayout#ADMIN_KEY_FILE
*/
protected void createAdminKeyFile(final RepositoryConfig config, final String
user, final String clearPwd) throws RepositoryException {
final PEFileLayout layout = getFileLayout(config);
final File src = layout.getKeyFileTemplate();
final File dest = layout.getAdminKeyFile();
try {
FileUtils.copy(src, dest);
modifyKeyFile(dest, user, clearPwd);
} catch (final Exception e) {
throw new RepositoryException(_strMgr.getString("keyFileNotCreated"), e);