Package io.jmix.ui.sys.localeresolver
Class RememberMeAuthenticationLocaleResolver
java.lang.Object
io.jmix.ui.sys.localeresolver.RememberMeAuthenticationLocaleResolver
- All Implemented Interfaces:
AuthenticationLocaleResolver
,org.springframework.core.Ordered
@Component("ui_RememberMeAuthenticationLocaleResolver")
public class RememberMeAuthenticationLocaleResolver
extends Object
implements AuthenticationLocaleResolver
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
-
Field Details
-
messageTools
-
-
Constructor Details
-
RememberMeAuthenticationLocaleResolver
public RememberMeAuthenticationLocaleResolver()
-
-
Method Details
-
supports
public boolean supports(org.springframework.security.core.Authentication authentication) - Specified by:
supports
in interfaceAuthenticationLocaleResolver
- Parameters:
authentication
- authentication to check- Returns:
true
if resolver supports given authentication
-
getLocale
- Specified by:
getLocale
in interfaceAuthenticationLocaleResolver
- Parameters:
authentication
- authentication- Returns:
- locale that should be used, or
null
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-