Hello,
I am having trouble with reading the specific attribute of multifactorPolicy when using CAS with MongoDB as my Service Registry database. There are two problems, but the main one is that all the attributes at the registered services are perfectly understood by CAS, except the multifactorPolicy attribute. The question is: Is it possible that CAS has a problem with multifactorPolicy attribute being read from MongoDB?
I tried using other attributes such as attributeReleasePolicy and it didn't have any problem reading it, the test were made using a Groovy script that prints all the attributes the registered service has.
The other problem is that when I use the definition provided by CAS documentation of a service, it defines an attribute named "@class", the problem with this is that if I define a service this way, CAS does not understand the class this registry belongs to, but when I define it with "_class" and the same value (org.apereo.cas.services.CasRegisteredService) it works and CAS can understand it. I did some research and I didn't find anything that can tell me why this happens. If you know anything and can tell or have an insight of what might be happening would be much appreciated.
Diego