CAS config server credentials

1,544 views
Skip to first unread message

Sandor Juhasz

unread,
Oct 9, 2017, 8:36:06 AM10/9/17
to cas-...@apereo.org
Hello,

how can i change the default credentials casuser//Mellon.
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

David Curry

unread,
Oct 9, 2017, 8:48:10 AM10/9/17
to cas-...@apereo.org
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:


--Dave


--

DAVID A. CURRY, CISSP
DIRECTOR OF INFORMATION SECURITY
INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 212 229-5300 x4728david...@newschool.edu

The New School


--
- 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 cas-user+unsubscribe@apereo.org.
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.

Sandor Juhasz

unread,
Oct 10, 2017, 6:42:03 AM10/10/17
to CAS Community
Somehow it is not working for the config service, no matter what i set there, it is only accepting the default.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.

Doug Campbell

unread,
Oct 10, 2017, 7:07:35 AM10/10/17
to cas-...@apereo.org

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

image001.jpg

Sandor Juhasz

unread,
Oct 10, 2017, 7:17:31 AM10/10/17
to CAS Community
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.

Sandor Juhasz

unread,
Oct 10, 2017, 7:21:36 AM10/10/17
to CAS Community
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.

Doug Campbell

unread,
Oct 10, 2017, 9:27:45 AM10/10/17
to cas-...@apereo.org

Ah.  Yes.  Sorry about that.  I just had a note on that when I was playing around with it and didn’t notice that I had set that in the application.properties.  Glad you figured it out.

Anmol Budhewar

unread,
Dec 23, 2019, 12:08:46 AM12/23/19
to CAS Community
how can I change password of cas-user from Active Directory and Can I change Admin password of Client from Active Directory?
To unsubscribe from this group and stop receiving emails from it, send an email to cas-...@apereo.org.
Reply all
Reply to author
Forward
0 new messages