grouper-users - [grouper-users] RE: GrouperJndiSourceAdapter questions...
Subject: Grouper Users - Open Discussion List
List archive
- From: "Black, Carey M." <>
- To: "Hyzer, Chris" <>, "" <>
- Subject: [grouper-users] RE: GrouperJndiSourceAdapter questions...
- Date: Tue, 4 Apr 2017 22:56:30 +0000
- Accept-language: en-US
- Authentication-results: spf=pass (sender IP is 164.107.81.218) smtp.mailfrom=osu.edu; internet2.edu; dkim=none (message not signed) header.d=none;internet2.edu; dmarc=pass action=none header.from=osu.edu;
- Ironport-phdr: 9a23:e7N8RRySBoSrDxnXCy+O+j09IxM/srCxBDY+r6Qd0uoXKPad9pjvdHbS+e9qxAeQG96KtbQc0qGP4ujJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMhTexe69+IAi5oQnMssQdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LptRRT1iikIKiQ5/XnXhMJukaxbvByvqR9xw4HWYYGaKPVxc7jHct8GQWdMRNpdWzBfDo66coABD/ABPeFdr4TlqVcDsB++ChOwC+Ps0jNDm2H70rcg0+s/EQDNwQsuE8gAvH/Jq9j6L6MSXvqpw6nL1znPcu1a1Dnm5YjPaRAhvOuAUqxtfsrM0EQiER7OgFuXqYzgJTyV1+INvnCU7+phSeKvi3MnpBprrjezwccsj4/EjZ8WxFDc7Sh13pw6KcGlREN+fNKoDYZcuiSUN4Z5Xs8uX2RluCgkxbAJuJO2eS0HxZY5yxHBc/CLbpaE7xH5WOqMLjp1hWhpdK+wihqo70StxPXwVseq31tJsiZIl9zBu3AR2BPP5MiKT+Vx80ig1DmS0g3e5eFJLEI6mKfeN5Eu2aU/mYAVvE/eBCH5gl/2g7WTdkg8+uin9eDnYrL+q5GEK4J6jR3yPro3lsGiB+o0LBECX2+A9uuizrHj+lD5QKlRgf0xj6nZto3VKd4Dpq6jBA9Vzpgs5AqjDzen19QYm2MLLFVYeBKbi4jpPFbOIPPiAfijhFSslS9nx/HAPrL/HpXANmbPn639cbpg7kNQ1Rc/wc1a6pJaBbwNPO7/V0r/tNPGARI0Mgm5zuPlBdljyIwSQWePDbWYMKPWv1+I/OUvI+yUaYAOvDbyMeQq5/30gXMkh1MQc7Kk3ZwMaHClBPhpPViWYWf0jtcbDWgKphY+TPDtiFCaXj5TfXGyX78k5j4lEoKqFJrDRpuzj7ybxye2BZlWZmFdClCQCnfkaZ+IW/YKaCKOPMBhiDoEWqa9S4M/zx2hqhL1y6c0ZtbTr2c4pIDuzpw9zO3JlAp4vWhxBMSMwWyXZ2BvlSUVXzIw2uZyrVErjh/J3rJ/nuRVD5lO/P5TSS87M4LR1ep3F4q0Vw7cNJ/dR0yhX82rG3QsVd8r2PcPZVpwAdOvkkqF0ia3Vew7jbuOUdYe9qvX3Dy5DM9nxmeO8e9rxw0sRsJENiv/3PVX8BPOQYPFjhPKxO6Raa0A0XuVpy+4xm2UsRQAXQ==
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Chris, >> Does this adapter support using Base64 encoded attributes as the SubjectID attribute? > > I don’t think that is currently possible, if you need it please open a descriptive jira about it. I assume that when searching the ID will need to be encoded before running the filter? It is actually more “odd” than that… but yes, the value needs decoded (from Base64) before it is stored then “encoded” before the search can work. If you take the value in HEX then escape all of the digits then the ldap filter works. Example: (HEX form of the value) 4e99cb365b5dfc4998b74e99cb365b5d (valid filter ) (attribute=\4e\99\cb\36\5b\5d\fc\49\98\b7\4e\99\cb\36\5b\5d) My motivation is to use a “system generated” value that I have never seen the LDAP system allow to have a duplicate. All other values are “mostly unique”, but I suspect that the system generated attribute that
is stored in this “odd way” is system protected from being “non-unique” and is a very opaque value too.
J The only issue is that grouper does not appear read to deal with this type of data from an LDAP source.
L
RE: setting email value I already have this in my config. (But it is not working) Any other ideas of what I might be doing wrong? “ <init-param> <param-name>emailAttributeName</param-name> <param-value>mail</param-value> </init-param> “ The LDAP source has a value for the attribute “mail” that is an email address. (example:
) When I use the Subject API diagnostics page I see this in the output for my Subject ID: “ Subject attribute 'mail' has 1 value: '' - with subject.getAttributeValue("mail") “ REF:
https://github.com/Internet2/grouper/blob/master/subject/conf/ldap.sources.xml.example I do not see a sample for “emailAttributeName” and the format looks more like “Name_AttributeType”….. Only test for “SubjectID_AttributeType”, “Name_AttributeType” and “Description_AttributeTyp”. No email attribute looking value. Is this just a “miss” in this API? (Or am I not seeing something?) -- Carey Matthew From: Hyzer, Chris [mailto:] > Does this adapter support using Base64 encoded attributes as the SubjectID attribute? I don’t think that is currently possible, if you need it please open a descriptive jira about it. I assume that when searching the ID will need to be encoded before running the filter? > How do I map an attribute from this SourceAdaptor to the email value for the subject? Just make an attribute, e.g. “emailAddress”, and then set this: <!-- If using emails and need email addresses in sources, set which attribute has the email address in this source --> <init-param> <param-name>emailAttributeName</param-name> <param-value>emailAddress</param-value> </init-param> Thanks Chris From: []
On Behalf Of Black, Carey M. Hello, First a bit about how I am currently configuring this subject API. ( in case it matters.) I am altering the sources.xml file. Does this adapter support using Base64 encoded attributes as the SubjectID attribute? I am trying to tie to our IDM system and would like to use an operational attribute that is base64 encoded as the Subject ID for this data set. However, the system does not appear to “automatically know” that it needs to decode the value being returned from our ldap server. Is there a way to “give it a clue” so that it will do that for the attribute? If in include the attribute in the list of “attribute” to display when doing a search I see
How do I map an attribute from this SourceAdaptor to the email value for the subject? (or is intended to be dealt with some other way than the subject API? I was expecting something like, but I am not finding it in any of the docs. “ <init-param> <param-name>Mail_AttributeType</param-name> <param-value>mail</param-value> </init-param> “ -- Carey Matthew |
- [grouper-users] GrouperJndiSourceAdapter questions..., Black, Carey M., 04/04/2017
- [grouper-users] RE: GrouperJndiSourceAdapter questions..., Hyzer, Chris, 04/04/2017
- [grouper-users] RE: GrouperJndiSourceAdapter questions..., Black, Carey M., 04/04/2017
- [grouper-users] RE: GrouperJndiSourceAdapter questions..., Hyzer, Chris, 04/05/2017
- [grouper-users] RE: GrouperJndiSourceAdapter questions..., Redman, Chad Eric, 04/05/2017
- [grouper-users] RE: GrouperJndiSourceAdapter questions..., Redman, Chad Eric, 04/05/2017
- Re: [grouper-users] RE: GrouperJndiSourceAdapter questions..., Liam Hoekenga, 04/07/2017
- [grouper-users] RE: GrouperJndiSourceAdapter questions..., Black, Carey M., 04/04/2017
- [grouper-users] RE: GrouperJndiSourceAdapter questions..., Hyzer, Chris, 04/04/2017
Archive powered by MHonArc 2.6.19.