BeanBuilder<?> factory = cdiManager.createBeanFactory(Authenticator.class);
factory.type(Authenticator.class);
factory.type(AdminAuthenticator.class);
factory.qualifier(DefaultLiteral.DEFAULT);
factory.qualifier(new AdminLiteral());
cdiManager.addBean(factory.singleton(_auth));
}
if (_transactionManager != null)