org.springframework.security.core
Class SpringSecurityMessageSource
java.lang.Object
org.springframework.context.support.MessageSourceSupport
org.springframework.context.support.AbstractMessageSource
org.springframework.context.support.ResourceBundleMessageSource
org.springframework.security.core.SpringSecurityMessageSource
- All Implemented Interfaces:
- BeanClassLoaderAware, HierarchicalMessageSource, MessageSource
public class SpringSecurityMessageSource
- extends ResourceBundleMessageSource
The default 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.
- Version:
- $Id: SpringSecurityMessageSource.java 3550 2009-04-13 13:43:23Z ltaylor $
- Author:
- Ben Alex
Methods inherited from class org.springframework.context.support.ResourceBundleMessageSource |
doGetBundle, getBundleClassLoader, getMessageFormat, getResourceBundle, resolveCode, resolveCodeWithoutArguments, setBasename, setBasenames, setBeanClassLoader, setBundleClassLoader, toString |
Methods inherited from class org.springframework.context.support.AbstractMessageSource |
getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, renderDefaultMessage, resolveArguments, setParentMessageSource, setUseCodeAsDefaultMessage |
SpringSecurityMessageSource
public SpringSecurityMessageSource()
getAccessor
public static MessageSourceAccessor getAccessor()
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.