Interface HasLocaleAndTimeZone
public interface HasLocaleAndTimeZone
Can be implemented by
UserDetails to provide a locale and/or time zone that will be set
in the Vaadin session after a successful authentication.
Alternatively a LocaleAndTimeZoneExtractor can be implemented and provided.
-
Method Summary
-
Method Details
-
getLocale
Returns the user's locale if available.- Returns:
- the user's locale if available
-
getTimeZone
Returns the user's time zone if available.- Returns:
- the user's time zone if available
-