public class SpringSecurityMessageSource extends ResourceBundleMessageSource
MessageSource
used by Spring Security.
All Spring Security classes requiring messge localization will by default use this class.
However, all such classes will also implement MessageSourceAware
so that the application context can
inject an alternative message source. Therefore this class is only used when the deployment environment has not
specified an alternative message source.
logger
Constructor and Description |
---|
SpringSecurityMessageSource() |
Modifier and Type | Method and Description |
---|---|
static MessageSourceAccessor |
getAccessor() |
doGetBundle, getBundleClassLoader, getMessageFormat, getResourceBundle, resolveCode, resolveCodeWithoutArguments, setBasename, setBasenames, setBeanClassLoader, setBundleClassLoader, setCacheSeconds, setDefaultEncoding, setFallbackToSystemLocale, toString
getCommonMessages, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, resolveArguments, setCommonMessages, setParentMessageSource, setUseCodeAsDefaultMessage
createMessageFormat, formatMessage, isAlwaysUseMessageFormat, renderDefaultMessage, setAlwaysUseMessageFormat
public static MessageSourceAccessor getAccessor()