context.putBean("authenticationContext", new ShiroContext());
authConnector = new UsernamePasswordServiceImpl();
authConnector.setUserManager(userManager);
context.putBean("authenticator", authConnector);
WicketAclServiceImpl wicketAclServiceImpl = new WicketAclServiceImpl();
wicketAclServiceImpl.setUserManager(userManager);
registerServiceAtLocation(wicketAclServiceImpl, "authorization/wicket", "root", AuthorizationDomain.class,
Domain.class);
AdminAccessConnector adminAccessConnector = new AdminAccessConnector();
adminAccessConnector.setUserManager(userManager);