クラス SpringSecurityMessageSource

java.lang.ObjectSE
org.springframework.context.support.MessageSourceSupport
org.springframework.context.support.AbstractMessageSource
org.springframework.context.support.AbstractResourceBasedMessageSource
org.springframework.context.support.ResourceBundleMessageSource
org.springframework.security.core.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.MessageSourceAccessor

    クラス 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.ObjectSE から継承されたメソッド

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

    • SpringSecurityMessageSource

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

    • getAccessor

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