Class DatabaseHandler
java.lang.Object
de.fraunhofer.iosb.ilt.frostserver.auth.keycloak.DatabaseHandler
Database handler for the keycloak auth provider.
-
Method Summary
Modifier and TypeMethodDescriptionvoidenureUserInUsertable(String username, Set<String> roles) Checks if the user is registered locally and if not, add the user.static DatabaseHandlergetInstance(CoreSettings coreSettings) static voidinit(CoreSettings coreSettings)
-
Method Details
-
init
-
getInstance
-
enureUserInUsertable
Checks if the user is registered locally and if not, add the user.- Parameters:
username- the usernameroles- the roles the user has.
-