Untitled
unknown
kotlin
10 months ago
395 B
5
Indexable
@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) }
Editor is loading...
Leave a Comment