EC-SEAL / interface-specs

Open API specifications
1 stars 4 forks source link

AttributeType: "values" #2

Closed mvj66 closed 4 years ago

mvj66 commented 4 years ago

Hi @faragom , and a happy new year!

Related to eduPerson attributes:

If you see the eduPersonOrgUnitDN claim in eduPerson.json

{
    "name" : "https://software.internet2.edu/eduperson/internet2-mace-dir-eduperson-201602.html#eduPersonPrimaryOrgUnitDN",
        "friendlyName"  :"eduPersonOrgUnitDN", 
        "encoding"  : "UTF-8", 
        "isMandatory"   : "false",
        "values"    :   
            [
                {
                    "ou"    : "string",
                    "o"     : "string",
                    "dc"    : "string",
                    "c" : "string"
                }
            ]
}

The current specification for "values " ([string]) does not work for the above claim.

faragom commented 4 years ago

Hi,

Since it is a Distinghised Name, it should follow the DN serialization standard: https://tools.ietf.org/html/rfc1779

Remember all eduPerson attributes are strings, regardless of whether they have any internal structure, like URIs or DNs

El mar., 7 ene. 2020 a las 14:41, mvj66 (notifications@github.com) escribió:

Hi @faragom https://github.com/faragom , and a happy new year!

Related to eduPerson attributes:

If you see the eduPersonOrgUnitDN claim in eduPerson.json https://github.com/EC-SEAL/conf-manager/blob/interface/ConfMngr/src/test/resources/attributeLists/eduPersonTO_ASK.json

{ "name" : "https://software.internet2.edu/eduperson/internet2-mace-dir-eduperson-201602.html#eduPersonPrimaryOrgUnitDN", "friendlyName" :"eduPersonOrgUnitDN", "encoding" : "UTF-8", "isMandatory" : "false", "values" :
[ { "ou" : "string", "o" : "string", "dc" : "string", "c" : "string" } ] }

The current specification for "values " ([string]) does not work for the above claim.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EC-SEAL/interface-specs/issues/2?email_source=notifications&email_token=AG4HJ66PFK7VFWEUENNFGX3Q4SA7ZA5CNFSM4KDZN7SKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEPXCQQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4HJ645JS2FOA6V6ZRWSF3Q4SA7ZANCNFSM4KDZN7SA .

-- Francisco José Aragó Monzonís mitsurugisan@gmail.com

faragom commented 4 years ago

Uops, sorry. Gave you the old one.

https://tools.ietf.org/html/rfc2253

El mar., 7 ene. 2020 a las 21:39, Francisco José Aragó (< mitsurugisan@gmail.com>) escribió:

Hi,

Since it is a Distinghised Name, it should follow the DN serialization standard: https://tools.ietf.org/html/rfc1779

Remember all eduPerson attributes are strings, regardless of whether they have any internal structure, like URIs or DNs

El mar., 7 ene. 2020 a las 14:41, mvj66 (notifications@github.com) escribió:

Hi @faragom https://github.com/faragom , and a happy new year!

Related to eduPerson attributes:

If you see the eduPersonOrgUnitDN claim in eduPerson.json https://github.com/EC-SEAL/conf-manager/blob/interface/ConfMngr/src/test/resources/attributeLists/eduPersonTO_ASK.json

{ "name" : "https://software.internet2.edu/eduperson/internet2-mace-dir-eduperson-201602.html#eduPersonPrimaryOrgUnitDN", "friendlyName" :"eduPersonOrgUnitDN", "encoding" : "UTF-8", "isMandatory" : "false", "values" :
[ { "ou" : "string", "o" : "string", "dc" : "string", "c" : "string" } ] }

The current specification for "values " ([string]) does not work for the above claim.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EC-SEAL/interface-specs/issues/2?email_source=notifications&email_token=AG4HJ66PFK7VFWEUENNFGX3Q4SA7ZA5CNFSM4KDZN7SKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEPXCQQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG4HJ645JS2FOA6V6ZRWSF3Q4SA7ZANCNFSM4KDZN7SA .

-- Francisco José Aragó Monzonís mitsurugisan@gmail.com

-- Francisco José Aragó Monzonís mitsurugisan@gmail.com

mvj66 commented 4 years ago

Thanks.

eduPerson.json changed in this way:

{
"name" : "https://software.internet2.edu/eduperson/internet2-mace-dir-eduperson-201602.html#eduPersonPrimaryOrgUnitDN",
"friendlyName" : "eduPersonOrgUnitDN", 
"encoding" : "UTF-8", 
"isMandatory" : "false",
"values" : ["ou","o","dc","c"]
}