|
@@ -0,0 +1,16 @@
|
|
|
+package org.springframework.security.expression.support;
|
|
|
+
|
|
|
+public class SecurityRules {
|
|
|
+ public static boolean disallow() {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static boolean allow() {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
+ public static boolean isJoe(String s) {
|
|
|
+ return "joe".equals(s);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|