Search in sources :

Example 1 with IdentityProviderManager

use of org.orcid.core.manager.IdentityProviderManager in project ORCID-Source by ORCID.

the class LoadIdentityProviders method main.

@SuppressWarnings("resource")
public static void main(String[] args) {
    ApplicationContext context = new ClassPathXmlApplicationContext("orcid-core-context.xml");
    IdentityProviderManager identityProviderManager = (IdentityProviderManager) context.getBean("identityProviderManager");
    identityProviderManager.loadIdentityProviders();
    System.exit(0);
}
Also used : ClassPathXmlApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext) ApplicationContext(org.springframework.context.ApplicationContext) ClassPathXmlApplicationContext(org.springframework.context.support.ClassPathXmlApplicationContext) IdentityProviderManager(org.orcid.core.manager.IdentityProviderManager)

Aggregations

IdentityProviderManager (org.orcid.core.manager.IdentityProviderManager)1 ApplicationContext (org.springframework.context.ApplicationContext)1 ClassPathXmlApplicationContext (org.springframework.context.support.ClassPathXmlApplicationContext)1