class GeoStoreClient {

    public void updateSecurityRules(Long resourceId, SecurityRuleList rules)
    {
    	 getBaseWebResource("resources", "resource", resourceId, "permissions")
    	 	.header("Content-Type", MediaType.TEXT_XML)
                 .accept(MediaType.TEXT_PLAIN)
    	 	.post(rules);
    }

    public  GeoStoreClient();

}