grouper-users - Re: [grouper-users] Re: Error - Found multiple matching subjects
Subject: Grouper Users - Open Discussion List
List archive
- From: Stephen A Sazama <>
- To: Akki Kumar <>
- Cc: "Hyzer, Chris" <>, "" <>
- Subject: Re: [grouper-users] Re: Error - Found multiple matching subjects
- Date: Wed, 17 May 2017 13:21:39 -0400
- Ironport-phdr: 9a23:t8kwhxTbqbEidkvp3mHGz3H1rNpsv+yvbD5Q0YIujvd0So/mwa6zYBWN2/xhgRfzUJnB7Loc0qyN4v+mADNLuM/Y+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG0oAnLq8Ubg4RuJrssxhfUv3BFZ/lYyWR0KFyJgh3y/N2w/Jlt8yRRv/Iu6ctNWrjkcqo7ULJVEi0oP3g668P3uxbDSxCP5mYHXWUNjhVIGQnF4wrkUZr3ryD3q/By2CiePc3xULA0RTGv5LplRRP0lCsKMSMy/WfKgcJyka1bugqsqB5xw4DUbo+bN+dwcL3Bct4BX2VNQtxcWjZdDo+gbYYCCfcKM+ZCr4n6olsDtQawBRWyC+P3yj9HmHn21rAm3u88DA/Jxg0hEMgLsHvOsd74M7wSUfuvw6jJ1zrDaulZ1Czg6IjNbx8tu++DUq9tccfIz0QkCg3LjlKVqYP/PjOV0PwAsmaF4OV7TuKvjHIoqwJvrTiz3MsskZfGipoUylDY7iV12po1JcWgRE50Zt6kF5RQtyWEOIdsXswiRGRotD4myr0Go560YjIFx4k9yx7FdvyHdZCE7Qn5VOaQOjd0nnNleKmnixay7Uig1vX8VtKq31ZQsCpFlsfDtmwX2xzR8MeHVOFy8l+71jaO0wDf8P1LIUcxlabDNp4h3r8wlp4JvUTFACD2hEP7h7KVeEU84uWl6ufqbq/4qpKSKYN4kBzyP6ozlsClDuk1MxACU3aH9em4zrHu/k30TK9UgvEonKTVqo3WKMAZq6O/HgRbyJws6wylADejyNkYnWcILFZCeB+fkYfpIEvBLf7iAfeihlSjjS1nx/HePr3hB5XMIWLPn6vmfbZ480JcyQwzws5D559MC7wMI+j/VlH/udDGFBM1LgK5z/v9BNhy144SQWePDbWYMKPWv1+I/OUvI+yUaY8OozbyMfkk6OTrjXAjglIdYKyp0oYNZH+mA/tmPl2VYWDwjdcZDWcKog0+QfTliF2YVj5Tem6yULwm5j0iFYKmFpnMRpq2gLGa2Ce7H4ZWZnxdClySC3vodoOEW+sSZyKIJM9ujCAEWaa7R4A/yB6uqVyy970yB+nX+2U7qJfqzpAh7ujahxA0+iVpAt+B0maLVDkswUsHQjY32OZ0pkkrmXmZ1q0tuOBVDdxe4btgGjwzJ5fZxqQuEMv7SAvEd/+UTVrgT9m7V2JiBuktysMDNh4uU+6piQrOinKn
Hi Chris,The Sources.xml file has two different source ids (ldap & ad). When I search for the user (Screenshot - a.jpg) in the Member Name or ID field, it spins and errors out (do not show the drop down). However, when I search for the user in the Search for an entity window (Screenshot - c.jpg), and it works. I am little baffled as to why the userid search work in the Search for an entity window and not for the Member Name or ID.Is screenshot will fine? I have attached screenshots to below link:Screenshots:Both source ids, ldap & ad, points to a different directory access protocol.Thanks,AkkiOn Thu, May 11, 2017 at 1:10 PM, Hyzer, Chris <> wrote:So you have two sources, with different source ids, and you search for a user, and select the user in the drop down? Then after selecting they user you click add, and I gives an error?
As you know, its best not to have overlaps in subject sources… any chance you can get a normalized view of users in a database or something? However, this should work. If you type in the userid and click add, that wont work, but if you type in a userid, and select the user from the combobox, and click add, that should work. That associates it with a source id (or at least it should J )
Any chance you can make a quick video (e.g. on your phone) of the screen where you get the error and send it to me so I can see how this happens?
Thanks
Chris
From: Akki Kumar [mailto:]
Sent: Thursday, May 11, 2017 11:35 AM
To: Hyzer, Chris <>
Cc:
Subject: Error - Found multiple matching subjects
Hi Chris,
I installed Grouper 2.3.0 and created two source adapters, LDAP & AD, in sources.xml. Grouper threw below error when I search for a user (after clicking on the "Add members" button). I believe, it's trying to search for a user in both, LDAP & AD, and that is one of the reason it found multiple subjects.
Question:
- Is there a way for a grouper to suggest both LDAP& AD user (in the search), instead of throwing an error?
Note:
- Multiple_Results parameter is set to true
- All patches are applied to grouper api
- I set authentication sourceId to ldap
Error:
2017-05-11 11:11:39,932: [ajp-nio-8009-exec-2] ERROR GrouperUiRestServlet.doGet(326
) - - Problem calling reflection from URL: edu.internet2.middleware.group er.grouperUi.serviceLogic. UiV2Group.addMemberFilter edu.internet2.middleware.subje
ct.SubjectNotUniqueException: found multiple matching subjects: 2, <USER_NAME>, Problem calling method addMemberFilter on edu.internet2.middleware.group
er.grouperUi.serviceLogic. UiV2Group at edu.internet2.middleware.group
er.subj.SourcesXmlResolver.the reCanOnlyBeOne(SourcesXmlResol ver.java:492) at edu.internet2.middleware.group
er.subj.SourcesXmlResolver.fin dByIdOrIdentifier(SourcesXmlRe solver.java:527) at edu.internet2.middleware.group
er.subj.CachingResolver.findBy IdOrIdentifier(CachingResolver .java:377) at edu.internet2.middleware.group
er.subj.ValidatingResolver.fin dByIdOrIdentifier(ValidatingRe solver.java:203) at edu.internet2.middleware.group
er.SubjectFinder.findByIdOrIde ntifier(SubjectFinder.java: 316) at edu.internet2.middleware.group
er.grouperUi.serviceLogic. UiV2Group$1.lookup(UiV2Group. java:599) at edu.internet2.middleware.group
er.grouperUi.serviceLogic. UiV2Group$1.lookup(UiV2Group. java:581) at edu.internet2.middleware.group
er.grouperUi.beans.dojo.DojoCo mboLogic.logic(DojoComboLogic. java:118) at edu.internet2.middleware.group
er.grouperUi.serviceLogic. UiV2Group.addMemberFilter( UiV2Group.java:581) at sun.reflect.NativeMethodAccess
orImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccess
orImpl.invoke(NativeMethodAcce ssorImpl.java:57) at sun.reflect.DelegatingMethodAc
cessorImpl.invoke(DelegatingMe thodAccessorImpl.java:43) at java.lang.reflect.Method.invok
e(Method.java:606) at edu.internet2.middleware.group
er.util.GrouperUtil.invokeMeth od(GrouperUtil.java:4143) at edu.internet2.middleware.group
er.util.GrouperUtil.callMethod (GrouperUtil.java:4094) at edu.internet2.middleware.group
er.j2ee.GrouperUiRestServlet. doGet(GrouperUiRestServlet. java:293) at javax.servlet.http.HttpServlet
.service(HttpServlet.java:635) at javax.servlet.http.HttpServlet
.service(HttpServlet.java:742) at org.apache.catalina.core.Appli
cationFilterChain.internalDoFi lter(ApplicationFilterChain. java:230) at org.apache.catalina.core.Appli
cationFilterChain.doFilter(App licationFilterChain.java:165) at org.apache.tomcat.websocket.se
rver.WsFilter.doFilter(WsFilte r.java:52) at org.apache.catalina.core.Appli
cationFilterChain.internalDoFi lter(ApplicationFilterChain. java:192) at org.apache.catalina.core.Appli
cationFilterChain.doFilter(App licationFilterChain.java:165) at org.owasp.csrfguard.CsrfGuardF
ilter.doFilter(CsrfGuardFilter .java:110) at org.apache.catalina.core.Appli
cationFilterChain.internalDoFi lter(ApplicationFilterChain. java:192) at org.apache.catalina.core.Appli
cationFilterChain.doFilter(App licationFilterChain.java:165) at edu.internet2.middleware.group
er.ui.GrouperUiFilter.doFilter (GrouperUiFilter.java:1049) at org.apache.catalina.core.Appli
cationFilterChain.internalDoFi lter(ApplicationFilterChain. java:192) at org.apache.catalina.core.Appli
cationFilterChain.doFilter(App licationFilterChain.java:165) at edu.yale.its.tp.cas.client.fil
ter.CASFilter.doFilter(CASFilt er.java:209) at org.apache.catalina.core.Appli
cationFilterChain.internalDoFi lter(ApplicationFilterChain. java:192) at org.apache.catalina.core.Appli
cationFilterChain.doFilter(App licationFilterChain.java:165) at uk.ac.bris.is.grouper.ui.PreCA
SFilter.doFilter(PreCASFilter. java:128) at org.apache.catalina.core.Appli
cationFilterChain.internalDoFi lter(ApplicationFilterChain. java:192) at org.apache.catalina.core.Appli
cationFilterChain.doFilter(App licationFilterChain.java:165) at org.apache.catalina.core.Stand
ardWrapperValve.invoke(Standar dWrapperValve.java:198) at org.apache.catalina.core.Stand
ardContextValve.invoke(Standar dContextValve.java:96) at org.apache.catalina.authentica
tor.AuthenticatorBase.invoke(A uthenticatorBase.java:595) at org.apache.catalina.core.Stand
ardHostValve.invoke(StandardHo stValve.java:140) at org.apache.catalina.valves.Err
orReportValve.invoke(ErrorRepo rtValve.java:80) at org.apache.catalina.valves.Abs
tractAccessLogValve.invoke(Abs tractAccessLogValve.java:624) at org.apache.catalina.core.Stand
ardEngineValve.invoke(Standard EngineValve.java:87) at org.apache.catalina.connector.
CoyoteAdapter.service(CoyoteAd apter.java:341) at org.apache.coyote.ajp.AjpProce
ssor.service(AjpProcessor. java:478) at org.apache.coyote.AbstractProc
essorLight.process(AbstractPro cessorLight.java:66) at org.apache.coyote.AbstractProt
ocol$ConnectionHandler. process(AbstractProtocol.java: 798) at org.apache.tomcat.util.net.Nio
Endpoint$SocketProcessor.doRun (NioEndpoint.java:1441) at org.apache.tomcat.util.net.Soc
ketProcessorBase.run(SocketPro cessorBase.java:49) at java.util.concurrent.ThreadPoo
lExecutor.runWorker(ThreadPool Executor.java:1145) at java.util.concurrent.ThreadPoo
lExecutor$Worker.run(ThreadPoo lExecutor.java:615) at org.apache.tomcat.util.threads
.TaskThread$WrappingRunnable. run(TaskThread.java:61) at java.lang.Thread.run(Thread.ja
va:745)
Thank you,
Akki
- [grouper-users] Error - Found multiple matching subjects, Akki Kumar, 05/11/2017
- [grouper-users] RE: Error - Found multiple matching subjects, Hyzer, Chris, 05/11/2017
- [grouper-users] Re: Error - Found multiple matching subjects, Akki Kumar, 05/11/2017
- Re: [grouper-users] Re: Error - Found multiple matching subjects, Stephen A Sazama, 05/17/2017
- RE: [grouper-users] Re: Error - Found multiple matching subjects, Hyzer, Chris, 05/21/2017
- Re: [grouper-users] Re: Error - Found multiple matching subjects, Stephen A Sazama, 05/24/2017
- RE: [grouper-users] Re: Error - Found multiple matching subjects, Hyzer, Chris, 05/24/2017
- Re: [grouper-users] Re: Error - Found multiple matching subjects, Stephen A Sazama, 05/24/2017
- RE: [grouper-users] Re: Error - Found multiple matching subjects, Hyzer, Chris, 05/21/2017
- Re: [grouper-users] Re: Error - Found multiple matching subjects, Stephen A Sazama, 05/17/2017
- [grouper-users] Re: Error - Found multiple matching subjects, Akki Kumar, 05/11/2017
- [grouper-users] RE: Error - Found multiple matching subjects, Hyzer, Chris, 05/11/2017
Archive powered by MHonArc 2.6.19.