adminAccessConnector.setUserManager(userManager);
registerServiceAtLocation(adminAccessConnector, "authorization/admin", "root", AuthorizationDomain.class,
Domain.class);
DomainProvider authDomainProvider = createDomainProviderMock(AuthorizationDomain.class, "authorization");
CompositeConnectorProvider compositeConnectorProvider = new CompositeConnectorProvider();
compositeConnectorProvider.setBundleContext(bundleContext);
ConnectorInstanceFactory cFactory = compositeConnectorProvider.createFactory(authDomainProvider);
Connector instance = cFactory.createNewInstance("auth-admin");
Dictionary<String, Object> props = new Hashtable<String, Object>();
props.put("composite.strategy.name", "authorization");
AffirmativeBasedAuthorizationStrategy service = new AffirmativeBasedAuthorizationStrategy();
service.setUtilsService(serviceUtils);