クラス SpringSecurityMessageSource

  • 実装されたすべてのインターフェース:
    org.springframework.beans.factory.Awareorg.springframework.beans.factory.BeanClassLoaderAwareorg.springframework.context.HierarchicalMessageSourceorg.springframework.context.MessageSource

    public class SpringSecurityMessageSource
    extends org.springframework.context.support.ResourceBundleMessageSource
    Spring Security で使用されるデフォルトの MessageSource

    メッセージのローカライズを必要とするすべての Spring Security クラスは、デフォルトでこのクラスを使用します。ただし、そのようなクラスはすべて MessageSourceAware も実装するため、アプリケーションコンテキストは代替メッセージソースを挿入できます。このクラスは、デプロイ環境で代替メッセージソースが指定されていない場合にのみ使用されます。

    • フィールドサマリー

      • クラス org.springframework.context.support.MessageSourceSupport から継承されたフィールド

        logger
    • メソッドのサマリー

      すべてのメソッド   静的メソッド   具象メソッド  
      修飾子と型 メソッド 説明
      static org.springframework.context.support.MessageSourceAccessorgetAccessor()
      • クラス org.springframework.context.support.ResourceBundleMessageSource から継承されたメソッド

        doGetBundle, getBundleClassLoader, getMessageFormat, getResourceBundle, getStringOrNull, loadBundle, loadBundle, resolveCode, resolveCodeWithoutArguments, setBeanClassLoader, setBundleClassLoader, toString
      • クラス org.springframework.context.support.AbstractResourceBasedMessageSource から継承されたメソッド

        addBasenames, getBasenameSet, getCacheMillis, getDefaultEncoding, getDefaultLocale, isFallbackToSystemLocale, setBasename, setBasenames, setCacheMillis, setCacheSeconds, setDefaultEncoding, setDefaultLocale, setFallbackToSystemLocale
      • クラス org.springframework.context.support.AbstractMessageSource から継承されたメソッド

        getCommonMessages, getDefaultMessage, getDefaultMessage, getMessage, getMessage, getMessage, getMessageFromParent, getMessageInternal, getParentMessageSource, isUseCodeAsDefaultMessage, resolveArguments, setCommonMessages, setParentMessageSource, setUseCodeAsDefaultMessage
      • クラス org.springframework.context.support.MessageSourceSupport から継承されたメソッド

        createMessageFormat, formatMessage, isAlwaysUseMessageFormat, renderDefaultMessage, setAlwaysUseMessageFormat
      • クラス java.lang.Object から継承されたメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • コンストラクターの詳細

      • SpringSecurityMessageSource

        public SpringSecurityMessageSource()
    • メソッドの詳細

      • getAccessor

        public static org.springframework.context.support.MessageSourceAccessor getAccessor()