// Health checks
environment.addHealthCheck(new uk.co.froot.demo.openid.health.OpenIdDemoHealthCheck());
// Providers
environment.addProvider(new ViewMessageBodyWriter());
environment.addProvider(new OpenIDRestrictedToProvider<User>(authenticator, "OpenID"));
// Session handler
environment.setSessionHandler(new SessionHandler()); }