JEXL-357: added permissions parser;
authorhenrib <henrib@apache.org>
Thu, 3 Feb 2022 16:55:23 +0000 (17:55 +0100)
committerhenrib <henrib@apache.org>
Thu, 3 Feb 2022 16:55:23 +0000 (17:55 +0100)
commit0b1cbdbe8aa7d98d71dbfe29279240adde8c136f
tree29c1c1809f373b26f55179668c11e6256d7e604b
parent0e186325b2ee03dcc3e5d96aafff1f70b276ccd6
JEXL-357: added permissions parser;
- added a (static) 'secure' permissions (used in tests);
- quiesce spotbugs on builder patterns;
13 files changed:
src/main/config/findbugs-exclude-filter.xml
src/main/java/org/apache/commons/jexl3/internal/introspection/ClassMap.java
src/main/java/org/apache/commons/jexl3/internal/introspection/Introspector.java
src/main/java/org/apache/commons/jexl3/internal/introspection/Permissions.java
src/main/java/org/apache/commons/jexl3/internal/introspection/PermissionsParser.java [moved from src/main/java/org/apache/commons/jexl3/internal/introspection/PermissionParser.java with 75% similarity]
src/main/java/org/apache/commons/jexl3/internal/introspection/Uberspect.java
src/main/java/org/apache/commons/jexl3/introspection/JexlPermissions.java [new file with mode: 0644]
src/test/java/org/apache/commons/jexl3/JexlTestCase.java
src/test/java/org/apache/commons/jexl3/PropertyAccessTest.java
src/test/java/org/apache/commons/jexl3/internal/introspection/MiscIntrospectionTest.java
src/test/java/org/apache/commons/jexl3/internal/introspection/NoJexlTest.java [new file with mode: 0644]
src/test/java/org/apache/commons/jexl3/internal/introspection/PermissionsTest.java [new file with mode: 0644]
src/test/java/org/apache/commons/jexl3/jexl342/OptionalTest.java