Class UiAnonymousAuthenticationLocaleResolver
java.lang.Object
io.jmix.flowui.sys.localeresolver.UiAnonymousAuthenticationLocaleResolver
- All Implemented Interfaces:
- AuthenticationLocaleResolver,- org.springframework.core.Ordered
@Component("flowui_AnonymousAuthenticationLocaleResolver")
public class UiAnonymousAuthenticationLocaleResolver
extends Object
implements AuthenticationLocaleResolver
Provides 
Locale from VaadinSession.getCurrent() instance that should be used if current
 authentication is anonymous.- See Also:
- 
Field SummaryFields inherited from interface org.springframework.core.OrderedHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
UiAnonymousAuthenticationLocaleResolverpublic UiAnonymousAuthenticationLocaleResolver()
 
- 
- 
Method Details- 
supportspublic boolean supports(org.springframework.security.core.Authentication authentication) - Specified by:
- supportsin interface- AuthenticationLocaleResolver
- Parameters:
- authentication- authentication to check
- Returns:
- trueif resolver supports given authentication
 
- 
getLocale- Specified by:
- getLocalein interface- AuthenticationLocaleResolver
- Parameters:
- authentication- authentication
- Returns:
- locale that should be used, or null
 
- 
getOrderpublic int getOrder()- Specified by:
- getOrderin interface- org.springframework.core.Ordered
 
 
-