Dang, i just checked the repo again and what i have overlooked is the application.properties on the classpath. So that is why this does not read my properties. It works, if i put it there. https://github.com/apereo/cas/blob/master/webapp/cas-server-webapp-config-server/src/main/resources/application.properties
On Tuesday, October 10, 2017 at 1:17:31 PM UTC+2, Sandor Juhasz wrote: > > And it does not work. If i put it to cas.properties or in > bootstrap.properties. No effect. > Still i am talking about - cas-server-webapp-config-server. > > On Tuesday, October 10, 2017 at 1:07:35 PM UTC+2, Doug C wrote: >> >> If you are wanting to put in your own credentials the format is: >> >> >> >> cas.authn.accept.users=casuser::Mellon,username::password >> >> >> >> You, of course, can just remove the first item in the list since you >> probably don’t want the default and then add commas in between >> username/password pairs. >> >> >> >> Doug >> >> >> >> >> >> *From:* [email protected] [mailto:[email protected]] *On Behalf Of *Sandor >> Juhasz >> *Sent:* Tuesday, October 10, 2017 6:42 PM >> *To:* CAS Community >> *Subject:* Re: [cas-user] CAS config server credentials >> >> >> >> Somehow it is not working for the *config service*, no matter what i set >> there, it is only accepting the default. >> >> On Monday, October 9, 2017 at 2:48:10 PM UTC+2, David Curry wrote: >> >> Normally you disable the static authentication handler altogether once >> you have a "real" authentication handler (e.g., LDAP or Active Directory) >> configured. To do that, put this in cas.properties: >> >> >> >> cas.authn.accept.users: >> >> >> >> Just leave the value empty. >> >> >> >> If you really and truly want to keep the built-in credentials but have >> them set to something else, I would guess you need to play with these >> settings: >> >> >> >> >> https://apereo.github.io/cas/5.1.x/installation/Configuration-Properties.html#accept-users-authentication >> >> >> >> --Dave >> >> >> >> >> -- >> >> *DAVID A. CURRY, CISSP* >> *DIRECTOR OF INFORMATION SECURITY* >> INFORMATION TECHNOLOGY >> >> 71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003 >> +1 212 229-5300 x4728 • [email protected] >> >> [image: The New School] >> >> >> >> On Mon, Oct 9, 2017 at 8:36 AM, Sandor Juhasz <[email protected]> >> wrote: >> >> Hello, >> >> >> >> how can i change the default credentials casuser//Mellon. >> >> security.user.name= >> >> security.user.password= >> >> don't work, neither in config server bootstrap or cas.properties. >> >> >> >> >> >> >> >> >> -- >> >> *Sándor Juhász* >> >> System Administrator >> *ChemAxon* *Ltd*. >> >> Building Hx, GraphiSoft Park, Záhony utca 7, Budapest, Hungary, H-1031 >> >> Cell: +36704258964 >> >> -- >> - 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/CAD65aPWn5bcXHfmaYQkPucRHTzs_b-taWW6YDJCRL3jpcW7Jfg%40mail.gmail.com >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAD65aPWn5bcXHfmaYQkPucRHTzs_b-taWW6YDJCRL3jpcW7Jfg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> >> >> -- >> - 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/52dcad2e-1ca0-4059-a1ed-237637c278b5%40apereo.org >> >> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/52dcad2e-1ca0-4059-a1ed-237637c278b5%40apereo.org?utm_medium=email&utm_source=footer> >> . >> > -- - 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/2db53e9d-06d7-44e4-a626-6232757115cc%40apereo.org.
