Commit 385b8b2d authored by Jonathan Shahen's avatar Jonathan Shahen

adds comments; a new convenience command to the CUI

parent 89185bf4
...@@ -95,6 +95,7 @@ public class MohawkCUI { ...@@ -95,6 +95,7 @@ public class MohawkCUI {
System.out.println(""); System.out.println("");
System.out.println("-mode bmc -run all -input data/ahn/test.st.mohawk.T.mohawk !exit"); System.out.println("-mode bmc -run all -input data/ahn/test.st.mohawk.T.mohawk !exit");
System.out.println("-mode bmc -run all -input data/bug/isolation/ -skiprefine -bulk !exit"); System.out.println("-mode bmc -run all -input data/bug/isolation/ -skiprefine -bulk !exit");
System.out.println("-mode bmc -run all -input data/TestsuiteC/hos -skiprefine -bulk !exit");
System.out.println(""); System.out.println("");
try { try {
BufferedReader bfr = new BufferedReader(new FileReader(previousCommandFilename)); BufferedReader bfr = new BufferedReader(new FileReader(previousCommandFilename));
......
...@@ -88,6 +88,10 @@ public class RBACInstance { ...@@ -88,6 +88,10 @@ public class RBACInstance {
return vUsers; return vUsers;
} }
/**
* Get the admin users
* @return
*/
public Vector<String> getAdmin() { public Vector<String> getAdmin() {
return vAdmin; return vAdmin;
} }
......
...@@ -65,6 +65,12 @@ public class MohawkSettings { ...@@ -65,6 +65,12 @@ public class MohawkSettings {
*/ */
public boolean skipRefine = false; public boolean skipRefine = false;
/**
* Flag for optimizing RBAC instances by removing the roles that are not present in any rules as a target
* and replacing them in all CA rule conditions as a constant (TRUE or FALSE)
*/
public boolean optimizeRBAC = false;
protected MohawkSettings() { protected MohawkSettings() {
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment