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, LOCALE_COOKIE, 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 request
-
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:
-
close
public void close()
-