[teiid-issues] [JBoss JIRA] (TEIID-1675) Add capability to insert/update/delete multi-value attributes in LDAP connector

Steven Hawkins (JIRA) issues at jboss.org
Thu Jun 19 14:54:24 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-1675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12977881#comment-12977881 ] 

Steven Hawkins commented on TEIID-1675:
---------------------------------------

What I would propose is supporting string arrays.  An array could be used to represent any multi-valued attribute for read or write.  Then for example with the ddl:

{code}create foreign table mmx_groups (objectClass string[], DN string, name string options (nameinsource 'cn'), uniqueMember string[]) options (nameinsource 'ou=groups,dc=metamatrix,dc=com', updatable true){code}

you could issue:

{code}insert into mmx_groups (objectClass, DN, name, uniqueMember) values (('top', 'groupOfUniqueNames'), 'cn=a,ou=groups,dc=metamatrix,dc=com', 'a', ('cn=Sam Smith,ou=people,dc=metamatrix,dc=com',)){code}

Here both objectClass and uniqueMember are arrays.

> Add capability to insert/update/delete multi-value attributes in LDAP connector
> -------------------------------------------------------------------------------
>
>                 Key: TEIID-1675
>                 URL: https://issues.jboss.org/browse/TEIID-1675
>             Project: Teiid
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: LDAP Connector
>    Affects Versions: 7.4
>            Reporter: Marc Shirley
>            Assignee: Steven Hawkins
>             Fix For: 8.9, Open To Community
>
>
> Add ability to insert/update/delete multi-value attributes through the LDAP connector.  For example, this would present the opportunity for maintaining group membership through modifying the list of member attribute values in an LDAP groupOfNames object.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the teiid-issues mailing list