You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controller/src/main/java/org/jboss/as/controller/access/constraint/SensitiveVaultExpressionConstraint.java
+5-8
Original file line number
Diff line number
Diff line change
@@ -22,8 +22,8 @@
22
22
23
23
packageorg.jboss.as.controller.access.constraint;
24
24
25
-
importorg.jboss.as.controller.ExpressionResolver;
26
-
importorg.jboss.as.controller.VaultReader;
25
+
importjava.util.regex.Pattern;
26
+
27
27
importorg.jboss.as.controller.access.Action;
28
28
importorg.jboss.as.controller.access.JmxAction;
29
29
importorg.jboss.as.controller.access.JmxTarget;
@@ -45,6 +45,8 @@ public class SensitiveVaultExpressionConstraint extends AllowAllowNotConstraint
Copy file name to clipboardExpand all lines: testsuite/rbac/src/test/java/org/jboss/as/test/integration/mgmt/access/VaultExpressionSensitivityTestCase.java
+12
Original file line number
Diff line number
Diff line change
@@ -226,6 +226,18 @@ public void testReadNonSensitiveWriteNonSensitive() throws Exception {
226
226
}
227
227
}
228
228
229
+
/*
230
+
* Test if the Monitor role can smuggle a vault expression to retrieve the value from the vault.
0 commit comments