// grant user9 all rights on "getAttribute*" methods in Test component
ObjectProperties ruleProperties = new ObjectProperties();
ruleProperties.put(ObjectProperties.Property.COMPONENT, "Test");
ruleProperties.put(ObjectProperties.Property.NAME, "getAttribute*");
rs.grant(1, "user9", Permission.ALLOW, Operation.ACCESS, ObjectType.METHOD, ruleProperties);
configureAccessControl(rs);
SecurityManager.setThreadSubject(TestPrincipalUtils.createTestSubject("user9"));
ObjectProperties properties = new ObjectProperties("getAttributes");
properties.put(ObjectProperties.Property.COMPONENT, "Test");