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 Details

    • getLocale

      Optional<Locale> getLocale()
      Returns the user's locale if available.
      Returns:
      the user's locale if available
    • getTimeZone

      Optional<TimeZone> getTimeZone()
      Returns the user's time zone if available.
      Returns:
      the user's time zone if available