Untitled
unknown
kotlin
10 days ago
395 B
3
Indexable
Never
@Bean fun roleProvider( authTokenConverter: AuthTokenConverter, idmClient: IdmClient, libraryConfigs: List<OpsUiLibraryConfig> ): RoleProvider { val libraryConfig = libraryConfigs.find { it is LibraryConfigFromConfigService } ?: throw IllegalArgumentException("No suitable LibraryConfig found") return RoleProviderImpl(authTokenConverter, idmClient, libraryConfig) }
Leave a Comment