You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Keycloak中UserRepresentation的attributes类型及Java Map对应键值类型咨询

Keycloak UserRepresentation.attributes 对应Java Map的类型说明

Keycloak官方文档中定义UserRepresentation的attributes字段为Map of [array],对应Java中的Map<String, List<String>>:

  • 键K的类型为String:对应属性的名称,比如自定义的用户属性键名
  • 值V的类型为List<String>:因REST API定义为数组类型,Java中用List来承接,每个属性支持包含多个字符串值

内容的提问来源于stack exchange,提问作者190303458

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.21 22:40:53