Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
mohawk-2.0
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jon Shahen
mohawk-2.0
Commits
385b8b2d
Commit
385b8b2d
authored
Jan 08, 2016
by
Jonathan Shahen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds comments; a new convenience command to the CUI
parent
89185bf4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
src/mohawk/MohawkCUI.java
src/mohawk/MohawkCUI.java
+1
-0
src/mohawk/rbac/RBACInstance.java
src/mohawk/rbac/RBACInstance.java
+4
-0
src/mohawk/singleton/MohawkSettings.java
src/mohawk/singleton/MohawkSettings.java
+6
-0
No files found.
src/mohawk/MohawkCUI.java
View file @
385b8b2d
...
...
@@ -95,6 +95,7 @@ public class MohawkCUI {
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/bug/isolation/ -skiprefine -bulk !exit"
);
System
.
out
.
println
(
"-mode bmc -run all -input data/TestsuiteC/hos -skiprefine -bulk !exit"
);
System
.
out
.
println
(
""
);
try
{
BufferedReader
bfr
=
new
BufferedReader
(
new
FileReader
(
previousCommandFilename
));
...
...
src/mohawk/rbac/RBACInstance.java
View file @
385b8b2d
...
...
@@ -88,6 +88,10 @@ public class RBACInstance {
return
vUsers
;
}
/**
* Get the admin users
* @return
*/
public
Vector
<
String
>
getAdmin
()
{
return
vAdmin
;
}
...
...
src/mohawk/singleton/MohawkSettings.java
View file @
385b8b2d
...
...
@@ -65,6 +65,12 @@ public class MohawkSettings {
*/
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
()
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment