use of org.keycloak.provider.ProviderFactory in project keycloak by keycloak.
the class DefaultKeycloakSessionFactory method getAllProviderIds.
<T extends Provider> Set<String> getAllProviderIds(Class<T> clazz) {
Map<String, ProviderFactory> factoryMap = factoriesMap.get(clazz);
if (factoryMap == null) {
return Collections.emptySet();
}
Set<String> ids = new HashSet<>();
for (ProviderFactory f : factoryMap.values()) {
ids.add(f.getId());
}
return ids;
}
Aggregations