Enabled the ATS communications over SSL.
Created tools for editing settings and policy files.
This commit is contained in:
@@ -142,7 +142,7 @@ public class AuthTokenSettingsEditor implements IVerifySetting
|
||||
String filePath = null;
|
||||
String setting = null;
|
||||
String value = null;
|
||||
authtoken_settings_editor editor = new authtoken_settings_editor();
|
||||
AuthTokenSettingsEditor editor = new AuthTokenSettingsEditor();
|
||||
|
||||
// Process the command line arguments
|
||||
for (int i = 0; i < args.length; i++)
|
||||
|
||||
@@ -115,7 +115,7 @@ public class IdenTokenSettingsEditor implements IVerifySetting
|
||||
String filePath = null;
|
||||
String setting = null;
|
||||
String value = null;
|
||||
identoken_settings_editor editor = new identoken_settings_editor();
|
||||
IdenTokenSettingsEditor editor = new IdenTokenSettingsEditor();
|
||||
|
||||
// Process the command line arguments
|
||||
for (int i = 0; i < args.length; i++)
|
||||
|
||||
@@ -50,8 +50,8 @@ public class SvcSettingsEditor implements IVerifySetting
|
||||
" LifetimeShorter\n" +
|
||||
" IAConfigFile\n" +
|
||||
" ReconfigureInterval\n" +
|
||||
" KeyStoreUser\n" +
|
||||
" KeyStorePwd\n";
|
||||
" SigningKeyAliasName\n" +
|
||||
" SigningKeyPassword\n";
|
||||
|
||||
private static final String settings =
|
||||
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
|
||||
@@ -78,9 +78,9 @@ public class SvcSettingsEditor implements IVerifySetting
|
||||
result = true;
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.ReconfigureInterval) == 0)
|
||||
result = true;
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.KeyStoreUser) == 0)
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.SigningKeyAliasName) == 0)
|
||||
result = true;
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.KeyStorePwd) == 0)
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.SigningKeyPassword) == 0)
|
||||
result = true;
|
||||
else
|
||||
System.out.println("Invalid setting specified");
|
||||
@@ -165,13 +165,13 @@ public class SvcSettingsEditor implements IVerifySetting
|
||||
System.out.println("Invalid setting value specified");
|
||||
}
|
||||
}
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.KeyStoreUser) == 0)
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.SigningKeyAliasName) == 0)
|
||||
{
|
||||
validSetting = SvcConfig.KeyStoreUser;
|
||||
validSetting = SvcConfig.SigningKeyAliasName;
|
||||
}
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.KeyStorePwd) == 0)
|
||||
else if (setting.compareToIgnoreCase(SvcConfig.SigningKeyPassword) == 0)
|
||||
{
|
||||
validSetting = SvcConfig.KeyStorePwd;
|
||||
validSetting = SvcConfig.SigningKeyPassword;
|
||||
}
|
||||
else
|
||||
System.out.println("Invalid setting specified");
|
||||
@@ -192,7 +192,7 @@ public class SvcSettingsEditor implements IVerifySetting
|
||||
String filePath = null;
|
||||
String setting = null;
|
||||
String value = null;
|
||||
svc_settings_editor editor = new svc_settings_editor();
|
||||
SvcSettingsEditor editor = new SvcSettingsEditor();
|
||||
|
||||
// Process the command line arguments
|
||||
for (int i = 0; i < args.length; i++)
|
||||
|
||||
Reference in New Issue
Block a user