Spring Security Framework

org.springframework.security
Class SpringSecurityMessageSource

java.lang.Object
  extended by org.springframework.context.support.AbstractMessageSource
      extended by org.springframework.context.support.ResourceBundleMessageSource
          extended by org.springframework.security.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$
Author:
Ben Alex

Field Summary
 
Fields inherited from class org.springframework.context.support.AbstractMessageSource
logger
 
Constructor Summary
SpringSecurityMessageSource()
           
 
Method Summary
static MessageSourceAccessor getAccessor()
           
 
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
createMessageFormat, formatMessage, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isAlwaysUseMessageFormat, isUseCodeAsDefaultMessage, renderDefaultMessage, resolveArguments, setAlwaysUseMessageFormat, setParentMessageSource, setUseCodeAsDefaultMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpringSecurityMessageSource

public SpringSecurityMessageSource()
Method Detail

getAccessor

public static MessageSourceAccessor getAccessor()

Spring Security Framework

Copyright © 2004-2010 SpringSource, Inc. All Rights Reserved.