Interface SecurePropertyHandler
public interface SecurePropertyHandler
Defines how the SecureProperty Should be handel.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
suppressProperty
(Object propertyName, String[] roles) Checks if the property is allowed for the given role.
-
Method Details
-
suppressProperty
Checks if the property is allowed for the given role.- Parameters:
roles
- Roles to check if Property is allowed.propertyName
- Property name to check. (this will be a full class name + actual property name)- Returns:
- True if the property must be suppress from the output, False otherwise.
-