Skip to Content.
Sympa Menu

comanage-users - Re: [comanage-users] Custom user attributes

Subject: COmanage Users List

List archive

Re: [comanage-users] Custom user attributes


Chronological Thread 
  • From: Benjeman Meekhof <>
  • To: Benn Oshrin <>
  • Cc:
  • Subject: Re: [comanage-users] Custom user attributes
  • Date: Fri, 8 Sep 2017 10:14:12 -0400
  • Ironport-phdr: 9a23:6tqylhV/hkhj8mgvAOs+D5juXvPV8LGtZVwlr6E/grcLSJyIuqrYbBKHt8tkgFKBZ4jH8fUM07OQ6PGwHzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLdxIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAIy8YYsBAeQCM+hFsYfyu0ADrQeiCQS2GO/j1iNEi33w0KYn0+ohCwbG3Ak4Et8TrnvUqtf1O7kXUe+vyqnD0DLNYO1I1jf+6IjIdR4hquyLUL1rdMre11cgFwDFjlWXp4zoJC6V1uEMs2eH7+psT/yghHM6qwxopDWk28kiio7Mho0Py1DE8z10wIczJd2kVkF7e9ikH4VMty2ELYd5XN4tQ3xutS0nybMGoYa2cDYLxZg7xRPSbvKHfouT7R7/UeucLit0iG55d7+6mxm+7Uitx+j5W8Wq3ltHoCxImcTWuH8XzRzc8M2HR+N9/ki/3TaP0Bje6uReLkA1karXMoAhwr0smpYKvkXPACH7lUvsgK+ZcUUk/eeo6+D5bbn8upCcMIp0hhn/MqQohMO/Hfw1PhYPUmSH++mx0bPj8E7iT7lWi/A7nbXVvIzGKskeuqG1Hw9Y34Mm5hqhATqr3swUnXwdI1JEfBKHgZLpO1bLIP3gFvi/hkqjnylox/DGOb3hDI7ALmXGkLfgYbl961RQxxQuwtBC/55UEK0OIOrvWk/ts9zVFgM2Mwuxw+n9DtVyzIweVnyWDq+EK6Pdr0WI5vk0LumIZY8Voyr9K+M76/L0jH85n0Mdcrez3ZsRdn+4AupqL1+HbnXxn9dSWVsN6yAzSuqir0aCSz9VLyK4UqQ64Rk6Dp6rF4HOWtrrjbCcinSVBJpTM0pLDFKBFH7uP6CJVvQMbyzadsVknzEHVb+vY5Ik1Bqu8gL21uw0faLv5iQEuMe7h5BO7OrJmER3rGQsAg==

Hi Benn,

Thanks for your responses. It sounds very much like 3.1.0 does
exactly what I need in regards to user certificate DN as well as being
able to self-service other identifier types that might come up. It
may be in my best interest to wait for the release rather than
integrating something now depending on how long the wait is.

Regarding the Certificate model, what LDAP schema/attributes would you
use to store the DN? I could choose to insert them outside COmanage
for now and hopefully later when COmanage has the capability nothing
would change (from the LDAP perspective). Just the subject DN is
perfect for our use case.

Regarding your question about 'credentials', it is a little different.
This is not 'self-service' information but rather information that
might come as a result from a provisioning plugin which we want to
make available for the user to view. Considering it now I suppose it
could just be some additional identifiers (or extended attributes if
they could hold longer strings) which we put information into - maybe
there is nothing new required in that case.

Thanks again for the information, helps a lot.

regards,
Ben


On Fri, Sep 8, 2017 at 8:11 AM, Benn Oshrin
<>
wrote:
> On 9/7/17 4:20 PM, Benjeman Meekhof wrote:
>
>> I'm looking to add some custom attributes to CO person identities.
>> Some self-service, some populated from external sources (maybe via
>> REST API). From everything I have read and tried this seems
>> impossible to do easily. Here's what I think I know:
>
> By way of background, extended attributes were always intended to be a
> simple and quick method of extending the data model, with more
> sophisticated requirements requiring the use of a custom plug-in. With
> that said, more comments below...
>
>> - Extended attributes are limited to 32 character strings or other
>> not-useful-to-me data types. Also it appears they are not allowed to
>> be self-serviced by CO people.
>
> The limitation of extended attributes datatypes stems from the limited
> number of datatypes that are available in SQL across database
> implementations. Extended attributes attach to the CO Person Role
> record, which has no provision for self-service at the moment.
>
> The internal implementation of extended attributes has turned out to be
> problematic for various reasons, and we are currently considering
> replacing it with a new approach.
>
> https://bugs.internet2.edu/jira/browse/CO-1478
>
> We would be interested in any comments or suggestions, which can be
> added directly to that ticket.
>
>> - Adding an extended Identifier type almost seems like the right track
>> but I can't make this self-service once the user is enrolled.
>
> Although this ticket doesn't yet have a fix version, we expect
> self-service capabilities for identifiers to be available in 3.1.0:
>
> https://bugs.internet2.edu/jira/browse/CO-1255
>
> (The initial commit could be made in the next couple of weeks as part of
> a larger effort.)
>
>> - Organization identifiers seem like they could work for part of what
>> I want also but can't be self-service.
>>
>> The idea here is I just want all potential information to be easily
>> viewable and/or editable under the CO person identity interface. For
>> one example, I'd like them to be able to associate a CILogon subject
>> string with an identity in our CO not unlike an SSH key can be
>> associated already.
>
> As part of CO-1446, a Certificate model similar to the SshKey model will
> be introduced in 3.1.0. (It will probably support subject and issuer
> DNs, and not the full certificate, at least initially.)
>
>> Or another: I'll be writing some new service
>> provisioning plugins. I'd like the credentials for those services to
>> be available to the user in the COmanage identity web interface so
>> they can plug them in to where they need them.
>
> What do you mean by "credentials"? Is that different than the items
> (such as certificates) already mentioned?
>
>> What are my options here for extending the person fields/attributes?
>> It's looking very much like my only option is writing a plugin to
>> provide a new view.
>
> Right now, that's probably correct, although it sounds like many of your
> use cases will be solved at various points in upcoming releases.
>
> There's also this related request
>
> https://bugs.internet2.edu/jira/browse/CO-1474
>
> although the specifics mentioned in that ticket seem like they would be
> addressed by the proposal for better cluster account management (CO-866).
>
> Thanks,
>
> -Benn-



Archive powered by MHonArc 2.6.19.

Top of Page