Skip to content

[Phase 1 Sprint 2.5] infra(keycloak): realm-export に Custom User Profile(full_name_kana 必須)+ Keycloak 26.x 対応 #729

Description

@win2cot

設計正本: ADR-0006 §3.1(Console 経由 user 作成)/ §3.6(Keycloak 26.x)。親 tracker は別途 sub-issue 紐付け。

スコープ

  • keycloak/realm-export/tasks-realm.json に Custom User Profile を有効化し、full_name_kana を必須 attribute として定義(name/validation の契約のみ。保存先は SPI の UserAdapter 経由で users 列、Keycloak の user_attribute テーブルは使わない)
  • Keycloak 26.x 系最新安定版への対応(docker-compose.local.yml の image tag を 24.x → 26.x、import フォーマット差異の吸収)

受け入れ条件

  • realm import が 26.x で成功(accessCodeLifespan 等のフォーマット差異を吸収)
  • Admin Console の user 作成画面に full_name_kana が必須 attribute として表示
  • docker-compose.local.yml の Keycloak image が 26.x 最新安定版
  • Custom User Profile は attribute 契約のみ(保存は SPI 側、§3.1)

注: addUser 側の attribute 受領実装は Provider sub-issue(①)。E2E はテスト sub-issue(③)。

追加スコープ(#728 派生 — SPI config 文言の i18n)

  • SPI(TasksWebApiUserStorageProviderFactory)の getHelpText / config プロパティの labelhelpText を message キー化し、カスタム admin テーマの message bundle(messages_ja.properties / messages_en.properties)へ翻訳を登録する(現状は英語リテラル固定で全ロケール表示。コード側 TODO: TasksWebApiUserStorageProviderFactorygetHelpText 直前コメント参照)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/infraAWS インフラ(ECS Fargate / RDS / Keycloak / IAM)変更area/keycloakkeycloak/ サブプロジェクト変更priority/p2Medium。完了が望ましいが柔軟に判断可task-type:implコード実装が主体のタスク

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions