@Override
protected void initialize(UniversityFooConfiguration configuration, Environment environment)
throws ClassNotFoundException {
environment
.addProvider(new OAuthProvider<AuthenticatedPrincipal>(new OAuthAuthenticator(configuration), "protected-resources"));
environment.addResource(new UniversityResource());
}