Interface SecurePropertyHandler
-
public interface SecurePropertyHandler
Defines how the SecureProperty Should be handel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
suppressProperty(Object propertyName, String[] roles)
Checks if the property is allowed for the given role.
-
-
-
Method Detail
-
suppressProperty
boolean suppressProperty(Object propertyName, String[] roles)
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.
-
-