Class Sandbox.Permissions
java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.introspection.Sandbox.Permissions
- Enclosing class:
- Sandbox
Contains the white or black lists for properties and methods for a given class.
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
Gets the set of method names in these permissions.Adds a list of executable methods names to these permissions.read()
Gets the set of readable property names in these permissions.Adds a list of readable property names to these permissions.write()
Gets the set of writeable property names in these permissions.Adds a list of writeable property names to these permissions.
-
Method Details
-
read
Adds a list of readable property names to these permissions.- Parameters:
pnames
- the property names- Returns:
- this instance of permissions
-
write
Adds a list of writeable property names to these permissions.- Parameters:
pnames
- the property names- Returns:
- this instance of permissions
-
execute
Adds a list of executable methods names to these permissions.The constructor is denoted as the empty-string, all other methods by their names.
- Parameters:
mnames
- the method names- Returns:
- this instance of permissions
-
read
Gets the set of readable property names in these permissions.- Returns:
- the set of property names
-
write
Gets the set of writeable property names in these permissions.- Returns:
- the set of property names
-
execute
Gets the set of method names in these permissions.- Returns:
- the set of method names
-