Lines Matching refs:PolicyTool

50  * PolicyTool may be used by users and administrators to configure the
52 * Using PolicyTool administrators may add and remove policies from
59 public class PolicyTool {
109 private PolicyTool() {
621 // - PolicyTool needs to as well so that it doesn't store
709 * run the PolicyTool
713 ToolWindow tw = new ToolWindow(new PolicyTool());
744 private PolicyTool tool;
752 PolicyEntry(PolicyTool tool, PolicyParser.GrantEntry ge)
877 * The main window for the PolicyTool
896 PolicyTool.rb.getString("New");
898 PolicyTool.rb.getString("Open");
900 PolicyTool.rb.getString("Save");
902 PolicyTool.rb.getString("Save.As");
904 PolicyTool.rb.getString("View.Warning.Log");
906 PolicyTool.rb.getString("Exit");
908 PolicyTool.rb.getString("Add.Policy.Entry");
910 PolicyTool.rb.getString("Edit.Policy.Entry");
912 PolicyTool.rb.getString("Remove.Policy.Entry");
914 PolicyTool.rb.getString("Edit");
916 PolicyTool.rb.getString("Add.Public.Key.Alias");
918 PolicyTool.rb.getString("Remove.Public.Key.Alias");
929 private PolicyTool tool;
934 ToolWindow(PolicyTool tool) {
939 * Initialize the PolicyTool window with the necessary components
947 Menu menu = new Menu(PolicyTool.rb.getString("File"));
959 menu = new Menu(PolicyTool.rb.getString("KeyStore"));
967 Label label = new Label(PolicyTool.rb.getString("Policy.File."));
973 PolicyTool.rb.getString("Policy.File."));
1054 MessageFormat form = new MessageFormat(PolicyTool.rb.getString
1063 * Add a component to the PolicyTool window
1088 * Add a component to the PolicyTool window without external padding
1103 * PolicyTool window
1114 * PolicyTool window with an updated one.
1128 * display the main PolicyTool window
1132 setTitle(PolicyTool.rb.getString("Policy.Tool"));
1144 displayStatusDialog(this, PolicyTool.rb.getString
1154 (PolicyTool.rb.getString("Error"), tool, this, true);
1156 // find where the PolicyTool gui is
1166 Button okButton = new Button(PolicyTool.rb.getString("OK"));
1190 (PolicyTool.rb.getString("Status"), tool, this, true);
1192 // find the location of the PolicyTool gui
1202 Button okButton = new Button(PolicyTool.rb.getString("OK"));
1216 (PolicyTool.rb.getString("Warning"), tool, this, true);
1218 // find the location of the PolicyTool gui
1228 ta.append(PolicyTool.rb.getString("NEWLINE"));
1235 Button okButton = new Button(PolicyTool.rb.getString("OK"));
1328 PolicyTool.rb.getString
1332 PolicyTool.rb.getString("Principal.Type.");
1334 PolicyTool.rb.getString("Principal.Name.");
1338 PolicyTool.rb.getString
1343 PolicyTool.rb.getString
1432 PolicyTool tool;
1472 ToolDialog(String title, PolicyTool tool, ToolWindow tw, boolean modal) {
1538 PolicyTool.rb.getString("Principal.List"));
1543 PolicyTool.rb.getString("Permission.List"));
1547 // find where the PolicyTool gui is
1581 Label label = new Label(PolicyTool.rb.getString("CodeBase."));
1589 PolicyTool.rb.getString("Code.Base"));
1594 label = new Label(PolicyTool.rb.getString("SignedBy."));
1601 PolicyTool.rb.getString("Signed.By."));
1609 Button button = new Button(PolicyTool.rb.getString("Add.Principal"));
1615 button = new Button(PolicyTool.rb.getString("Edit.Principal"));
1621 button = new Button(PolicyTool.rb.getString("Remove.Principal"));
1631 label = new Label(PolicyTool.rb.getString("Principals."));
1643 button = new Button(PolicyTool.rb.getString(".Add.Permission"));
1649 button = new Button(PolicyTool.rb.getString(".Edit.Permission"));
1656 button = new Button(PolicyTool.rb.getString("Remove.Permission"));
1677 button = new Button(PolicyTool.rb.getString("Done"));
1685 button = new Button(PolicyTool.rb.getString("Cancel"));
1751 // find where the PolicyTool gui is
1760 (PolicyTool.rb.getString("KeyStore.URL."));
1768 PolicyTool.rb.getString("KeyStore.U.R.L."));
1774 label = new Label(PolicyTool.rb.getString("KeyStore.Type."));
1780 PolicyTool.rb.getString("KeyStore.Type."));
1786 label = new Label(PolicyTool.rb.getString
1793 PolicyTool.rb.getString("KeyStore.Provider."));
1799 label = new Label(PolicyTool.rb.getString
1806 PolicyTool.rb.getString("KeyStore.Password.U.R.L."));
1812 Button okButton = new Button(PolicyTool.rb.getString("OK"));
1819 Button cancelButton = new Button(PolicyTool.rb.getString("Cancel"));
1850 (PolicyTool.rb.getString("Principals"), tool, tw, true);
1853 // find where the PolicyTool gui is
1861 new Label(PolicyTool.rb.getString(".Edit.Principal.")) :
1862 new Label(PolicyTool.rb.getString(".Add.New.Principal.")));
1918 Button okButton = new Button(PolicyTool.rb.getString("OK"));
1926 Button cancelButton = new Button(PolicyTool.rb.getString("Cancel"));
1957 (PolicyTool.rb.getString("Permissions"), tool, tw, true);
1960 // find where the PolicyTool gui is
1968 new Label(PolicyTool.rb.getString(".Edit.Permission.")) :
1969 new Label(PolicyTool.rb.getString(".Add.New.Permission.")));
2036 label = new Label(PolicyTool.rb.getString("Signed.By."));
2042 PolicyTool.rb.getString("Signed.By."));
2048 Button okButton = new Button(PolicyTool.rb.getString("OK"));
2057 Button cancelButton = new Button(PolicyTool.rb.getString("Cancel"));
2087 (PolicyTool.rb.getString("Cannot.Specify.Principal.with.a.Wildcard.Class.without.a.Wildcard.Name"));
2090 (PolicyTool.rb.getString("Cannot.Specify.Principal.without.a.Name"));
2137 throw new InvalidParameterException(PolicyTool.rb.getString
2153 PolicyTool.rb.getString("Warning"),
2154 PolicyTool.rb.getString(
2156 PolicyTool.rb.getString("Retain"),
2157 PolicyTool.rb.getString("Edit")
2188 (PolicyTool.rb.getString
2212 // find where the PolicyTool gui is
2219 (PolicyTool.rb.getString("Remove.this.Policy.Entry."));
2254 Button okButton = new Button(PolicyTool.rb.getString("OK"));
2262 Button cancelButton = new Button(PolicyTool.rb.getString("Cancel"));
2283 (tw, PolicyTool.rb.getString("Save.As"), FileDialog.SAVE);
2306 MessageFormat form = new MessageFormat(PolicyTool.rb.getString
2324 (PolicyTool.rb.getString("null.filename")));
2340 // find where the PolicyTool gui is
2346 (PolicyTool.rb.getString("Save.changes."));
2354 Button yesButton = new Button(PolicyTool.rb.getString("Yes"));
2361 Button noButton = new Button(PolicyTool.rb.getString("No"));
2368 Button cancelButton = new Button(PolicyTool.rb.getString("Cancel"));
2394 void userSaveContinue(PolicyTool tool, ToolWindow tw,
2430 (tw, PolicyTool.rb.getString("Open"), FileDialog.LOAD);
2469 tw.displayStatusDialog(null, PolicyTool.rb.getString
2488 MessageFormat form = new MessageFormat(PolicyTool.rb.getString
2580 * Event handler for the PolicyTool window
2628 private PolicyTool tool;
2631 PolicyListListener(PolicyTool tool, ToolWindow tw) {
2641 (PolicyTool.rb.getString("Policy.Entry"), tool, tw, true);
2651 private PolicyTool tool;
2654 FileMenuListener(PolicyTool tool, ToolWindow tw) {
2661 if (PolicyTool.collator.compare(e.getActionCommand(), tw.QUIT) == 0) {
2665 (PolicyTool.rb.getString("Save.Changes"), tool, tw, true);
2671 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2676 (PolicyTool.rb.getString("Save.Changes"), tool, tw, true);
2682 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2687 (PolicyTool.rb.getString("Save.Changes"), tool, tw, true);
2693 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2704 (PolicyTool.rb.getString("Save.As"), tool, tw, true);
2713 (PolicyTool.rb.getString
2720 (PolicyTool.rb.getString("null.filename")));
2728 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2733 (PolicyTool.rb.getString("Save.As"), tool, tw, true);
2736 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2748 private PolicyTool tool;
2751 MainWindowListener(PolicyTool tool, ToolWindow tw) {
2758 if (PolicyTool.collator.compare(e.getActionCommand(),
2763 (PolicyTool.rb.getString("Policy.Entry"), tool, tw, true);
2766 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2774 (PolicyTool.rb.getString("No.Policy.Entry.selected")));
2779 ToolDialog td = new ToolDialog(PolicyTool.rb.getString
2783 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2791 (PolicyTool.rb.getString("No.Policy.Entry.selected")));
2797 (PolicyTool.rb.getString("Policy.Entry"), tool, tw, true);
2800 } else if (PolicyTool.collator.compare(e.getActionCommand(),
2805 (PolicyTool.rb.getString("KeyStore"), tool, tw, true);
2821 private PolicyTool tool;
2826 AddEntryDoneButtonListener(PolicyTool tool, ToolWindow tw,
2848 (PolicyTool.rb.getString
2863 if (PolicyTool.collator.compare
2886 private PolicyTool tool;
2890 ChangeKeyStoreOKButtonListener(PolicyTool tool, ToolWindow tw,
2916 MessageFormat form = new MessageFormat(PolicyTool.rb.getString
2932 private PolicyTool tool;
2937 AddPrinButtonListener(PolicyTool tool, ToolWindow tw,
2957 private PolicyTool tool;
2962 AddPermButtonListener(PolicyTool tool, ToolWindow tw,
2982 private PolicyTool tool;
2988 NewPolicyPrinOKButtonListener(PolicyTool tool,
3012 (PolicyTool.rb.getString
3045 private PolicyTool tool;
3051 NewPolicyPermOKButtonListener(PolicyTool tool,
3073 MessageFormat form = new MessageFormat(PolicyTool.rb.getString
3108 private PolicyTool tool;
3113 RemovePrinButtonListener(PolicyTool tool, ToolWindow tw,
3129 (PolicyTool.rb.getString("No.principal.selected")));
3142 private PolicyTool tool;
3147 RemovePermButtonListener(PolicyTool tool, ToolWindow tw,
3163 (PolicyTool.rb.getString("No.permission.selected")));
3183 private PolicyTool tool;
3188 EditPrinButtonListener(PolicyTool tool, ToolWindow tw,
3204 (PolicyTool.rb.getString("No.principal.selected")));
3222 private PolicyTool tool;
3227 EditPermButtonListener(PolicyTool tool, ToolWindow tw,
3243 (PolicyTool.rb.getString("No.permission.selected")));
3270 PolicyTool.splitToWords((String)e.getItem()));
3321 PolicyTool.splitToWords((String)e.getItem()));
3324 if (PolicyTool.collator.compare((String)e.getItem(), td.PERM) == 0) {
3373 PolicyTool.splitToWords((String)e.getItem()));
3505 private PolicyTool tool;
3509 UserSaveYesButtonListener(ToolDialog us, PolicyTool tool,
3537 (PolicyTool.rb.getString
3558 private PolicyTool tool;
3563 UserSaveNoButtonListener(ToolDialog us, PolicyTool tool,
3606 private PolicyTool tool;
3610 ConfirmRemovePolicyEntryOKButtonListener(PolicyTool tool,
3766 "createLoginContext.<" + PolicyTool.rb.getString("name") + ">",
3770 PolicyTool.rb.getString("configuration.type") + ">",
3987 PolicyTool.rb.getString("environment.variable.name") + ">",
3999 PolicyTool.rb.getString("library.name") + ">",
4001 PolicyTool.rb.getString("package.name")+">",
4003 PolicyTool.rb.getString("package.name")+">",
4026 PolicyTool.rb.getString("policy.type") + ">",
4028 PolicyTool.rb.getString("property.name") + ">",
4030 PolicyTool.rb.getString("property.name") + ">",
4032 PolicyTool.rb.getString("provider.name") + ">",
4034 PolicyTool.rb.getString("provider.name") + ">",
4042 PolicyTool.rb.getString("provider.name") + ">",
4044 PolicyTool.rb.getString("provider.name") + ">",
4046 PolicyTool.rb.getString("provider.name") + ">",