/**
* Test that standard unauthorized attempts fail
*/
@Test
public void testAuthException() throws Exception {
SolrAuthzConf solrAuthzConf =
new SolrAuthzConf(Resources.getResource("sentry-site.xml"));
setUsableAuthzConf(solrAuthzConf);
SolrAuthzBinding binding = new SolrAuthzBinding(solrAuthzConf);
expectAuthException(binding, corporal1, infoCollection, updateSet);
expectAuthException(binding, corporal1, infoCollection, allSet);
expectAuthException(binding, corporal1, generalInfoCollection, querySet);