SecurityWrapper wrap = new SecurityWrapper(ClassificationType.fromValue(results.getString("classification")), results.getString("caveat")); response.setClassification(wrap); response.getPolicy().setAgentsEnabled(results.getBoolean("agentsenable")); foundPolicy = true;