Package org.keycloak.locale
Class DefaultLocaleSelectorProvider
java.lang.Object
org.keycloak.locale.DefaultLocaleSelectorProvider
- All Implemented Interfaces:
LocaleSelectorProvider
,Provider
-
Field Summary
Fields inherited from interface org.keycloak.locale.LocaleSelectorProvider
CLIENT_REQUEST_LOCALE, KC_LOCALE_PARAM, USER_REQUEST_LOCALE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
resolveLocale
(RealmModel realm, UserModel user) Resolve the locale which should be used for the requestresolveLocale
(RealmModel realm, UserModel user, Theme.Type themeType)
-
Constructor Details
-
DefaultLocaleSelectorProvider
-
-
Method Details
-
resolveLocale
Description copied from interface:LocaleSelectorProvider
Resolve the locale which should be used for the request- Specified by:
resolveLocale
in interfaceLocaleSelectorProvider
- Returns:
-
resolveLocale
- Specified by:
resolveLocale
in interfaceLocaleSelectorProvider
-
close
public void close()
-