public interface AuthenticationLocaleResolver
extends org.springframework.core.Ordered
Locale
if current authentication does not contain it.CurrentAuthentication
Modifier and Type | Method and Description |
---|---|
java.util.Locale |
getLocale(org.springframework.security.core.Authentication authentication) |
boolean |
supports(org.springframework.security.core.Authentication authentication) |
boolean supports(org.springframework.security.core.Authentication authentication)
authentication
- authentication to checktrue
if resolver supports given authenticationjava.util.Locale getLocale(org.springframework.security.core.Authentication authentication)
authentication
- authentication