クラス InMemoryConfiguration

java.lang.ObjectSE
javax.security.auth.login.ConfigurationSE
org.springframework.security.authentication.jaas.memory.InMemoryConfiguration

public class InMemoryConfiguration extends ConfigurationSE

JAAS 構成のメモリ内表現。コンストラクターは、キーがログインコンテキスト名の名前を表し、値がそのログインコンテキスト名の AppConfigurationEntrySE の配列である Map を受け入れます。未定義のログインコンテキストが指定された場合に返される AppConfigurationEntrySE のデフォルトの配列を指定できます。

  • コンストラクターの詳細

    • InMemoryConfiguration

      public InMemoryConfiguration(AppConfigurationEntrySE[] defaultConfiguration)
      defaultConfiguration のみで新しいインスタンスを作成します。構成名を指定すると、defaultConfiguration が返されます。
      パラメーター:
      defaultConfiguration - getAppConfigurationEntry(String) への呼び出しの結果。null にすることができます。
    • InMemoryConfiguration

      public InMemoryConfiguration(MapSE<StringSE,AppConfigurationEntrySE[]> mappedConfigurations)
      ログインコンテキスト名を AppConfigurationEntrySE の配列にマッピングして、新しいインスタンスを作成します。
      パラメーター:
      mappedConfigurations - 各キーはログインコンテキスト名を表し、各値は使用する必要がある AppConfigurationEntrySE の配列です。
    • InMemoryConfiguration

      public InMemoryConfiguration(MapSE<StringSE,AppConfigurationEntrySE[]> mappedConfigurations, AppConfigurationEntrySE[] defaultConfiguration)
      ログインコンテキスト名の AppConfigurationEntrySE の配列へのマッピングと、指定されたログインコンテキスト名のマッピングが見つからない場合に使用されるデフォルト設定を使用して、新しいインスタンスを作成します。
      パラメーター:
      mappedConfigurations - 各キーはログインコンテキスト名を表し、各値は使用する必要がある AppConfigurationEntrySE の配列です。
      defaultConfiguration - getAppConfigurationEntry(String) への呼び出しの結果。null にすることができます。
  • メソッドの詳細