【问题标题】:Complex attribute that holds another complex attribute包含另一个复杂属性的复杂属性
【发布时间】:2016-09-13 16:57:10
【问题描述】:

根据RFC7643 section 2.3.8

复杂属性不得包含具有子属性的子属性(即复杂的)。

但是,当我阅读同一 RFC section 8.7.2 第 88 行中的架构定义时,我注意到 urn:ietf:params:scim:schemas:core:2.0:Schema 的描述是:

  {
    ...
    "attributes" : [
      ...
      {
        "name" : "attributes",
        "type" : "complex",
        "multiValued" : true,
        "description" : "A complex attribute that includes the
          attributes of a schema.",
        "required" : true,
        "mutability" : "readOnly",
        "returned" : "default",
        "subAttributes" : [
          ...
          {
            "name" : "subAttributes",
            "type" : "complex",
            "multiValued" : true,
            "description" : "Used to define the sub-attributes of a
              complex attribute.",
            "required" : false,
            "mutability" : "readOnly",
            "returned" : "default",
            "subAttributes" : [

我错过了什么?

【问题讨论】:

    标签: scim


    【解决方案1】:

    对于所有模式定义,复杂属性可能包含另一个复杂属性。 在RFC7643 section 7我们可以阅读

    与其他核心资源不同,“架构”资源可能包含 子属性中的复杂对象,并且所有属性都是 除非另有说明,否则必填。

    【讨论】:

      猜你喜欢
      • 2022-12-03
      • 1970-01-01
      • 2014-08-17
      • 1970-01-01
      • 2011-03-16
      • 1970-01-01
      • 1970-01-01
      • 2014-01-12
      • 1970-01-01
      相关资源
      最近更新 更多