in the CAS documentations there is an example for MongoDB-Authentication(by example i mean a code sample that is should write inside cas.properties), but for Mongo-Service-Management, there is not any example.
MongoDB-Authentication <http://apereo.github.io/cas/4.2.x/installation/MongoDb-Authentication.html> cas.authn.mongo.collection.name=users cas.authn.mongo.db.host=mongodb://user:[email protected]:61954/database cas.authn.mongo.attributes=attribute1,attribute2 cas.authn.mongo.username.attribute=username cas.authn.mongo.password.attribute=password i did as such and it's working. (i didn't change the third line though, i don't know what it is.) but in the Mongo-Service-Mangement <http://apereo.github.io/cas/4.2.x/installation/Mongo-Service-Management.html> documentation mongodb.host=mongodb database url mongodb.port=mongodb database port mongodb.userId=mongodb userid to bind mongodb.userPassword=mongodb password to bind cas.service.registry.mongo.db=Collection name to store service definitions now here we have cas.service.registry.mongo.db so it's probably the name of our db, but they say it's a Collection name. is that a typo? should the url include the port, the username and password and the name of the database? the below code is what i did, and it made the /cas path to return 404 Not Found! mongodb.host=mongodb://myUserName:[email protected]:61360/mydb mongodb.port=61360 mongodb.userId=mydb.myUserName mongodb.userPassword=myPassword cas.service.registry.mongo.db=services mongodb.timeout=5000 as i said this make CAS to be unavailable, so i tried changing the url by removing the username and password, or db name, or the port from the url, none of them works. the _id of the database user in mlab.com is mydb.myUserName, i changed it to myUserName but this didn't help either. can you provide an example or explain what am i doing wrong? thank you for any help you are able to provide -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/911947c0-de6c-4101-a965-19e59f2a737f%40apereo.org. For more options, visit https://groups.google.com/a/apereo.org/d/optout.
