RemoteUserFederationProviderFactory implements UserFederationProviderFactory { @Override public String getId() { return PROVIDER_NAME; }  @Override UserFederationProvider getInstance(KeycloakSession session, UserFederationProviderModel model); @Override Set<String> getConfigurationOptions(); @Override String getId(); @Override UserFederationProvider create(KeycloakSession session); @Override void init(Scope config); @Override void postInit(KeycloakSessionFactory factory); @Override void close(); @Override UserFederationSyncResult syncAllUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model); @Override UserFederationSyncResult syncChangedUsers(KeycloakSessionFactory sessionFactory, String realmId, UserFederationProviderModel model, Date lastSync); static final String PROVIDER_NAME; static final String PROP_USER_VALIDATION_URL; }
@Test public void testGetId() throws Exception { assertEquals(RemoteUserFederationProviderFactory.PROVIDER_NAME, factory.getId()); }