Hello, I try to retrieve attributes from rest web service: documentation CAS on that topic <https://apereo.github.io/cas/5.2.x/installation/Configuration-Properties.html#rest> .
I have setup a minimal configuration with static user: # Accept Users Authentication: authentification de test cas.authn.accept.users=sebastien::admin2 ##### Service Registry cas.serviceRegistry.initFromJson=true cas.serviceRegistry.config.location=classpath:/services # authentication-attributes ################################################ cas.authn.attributeRepository.expireInMinutes=30 cas.authn.attributeRepository.maximumCacheSize=10000 cas.authn.attributeRepository.merger=REPLACE # Retrieve attributes from a REST endpoint: cas.authn.attributeRepository.rest[0].method=GET cas.authn.attributeRepository.rest[0].order=0 cas.authn.attributeRepository.rest[0].caseInsensitive=false cas.authn.attributeRepository.rest[0].basicAuthUsername= cas.authn.attributeRepository.rest[0].basicAuthPassword= cas.authn.attributeRepository.rest[0].url= https://localhost:8000/roles/{user} When i test the solution i face this exception: [org.apereo.services.persondir.support.MergingPersonAttributeDaoImpl] - <Recovering From Exception thrown by 'org.apereo.services.persondir.support.*RestfulPersonAttributeDao*@15c8c97'> java.lang.*UnsupportedOperationException*: This method is not implemented. When i look at the source on github for RestfulPersonAttributeDao <https://github.com/apereo/person-directory/blob/d8da01c2f836438892f6a8e18323e0096e8d0ceb/person-directory-impl/src/main/java/org/apereo/services/persondir/support/RestfulPersonAttributeDao.java> : @Override public Set<IPersonAttributes> getPeople(final Map<String, Object> query) { return getPeopleWithMultivaluedAttributes(stuffAttributesIntoListValues(query)); } @Override public Set<IPersonAttributes> getPeopleWithMultivaluedAttributes(final Map<String, List<Object>> query) { throw new UnsupportedOperationException("This method is not implemented."); } Does it mean that i have to implement the code myself ? Thank you for your help Sebastien -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/11fdfa44-432a-46bb-b6bf-6661032deb4e%40apereo.org.
