public void vetoing() throws Exception {
Factory<SecurityManager> factory = new IniSecurityManagerFactory("classpath:shiro.ini");
SecurityManager securityManager = factory.getInstance();
SecurityUtils.setSecurityManager(securityManager);
AuthenticationRequest ar = new AuthenticationRequestPassword("darkhelmet", "ludicrousspeed");
authOrAuth.authenticate(ar, null);
Identifier changeAddressIdentifier = Identifier.actionIdentifier("com.mycompany.myapp.Customer", "changeAddress", String.class, String.class);
assertThat(authOrAuth.isVisibleInAnyRole(changeAddressIdentifier), is(true));