title: Unable to use default username password and make jsonResourcePassword.json work with Apereo CAS SSO
body: <p>Here is what I have done so far: <a href="https://github.com/jnbdz/tutorial-baeldung-spring-security-cas-sso" rel="nofollow noreferrer">https://github.com/jnbdz/tutorial-baeldung-spring-security-cas-sso</a></p>
  <p>In here you can see my configs: <a href="https://github.com/jnbdz/tutorial-baeldung-spring-security-cas-sso/tree/main/config" rel="nofollow noreferrer">https://github.com/jnbdz/tutorial-baeldung-spring-security-cas-sso/tree/main/config</a></p>
  <p>I am trying to follow this tutorial: <a href="https://www.baeldung.com/spring-security-cas-sso" rel="nofollow noreferrer">https://www.baeldung.com/spring-security-cas-sso</a></p>
  <p>But it seems a bit out of date. I have re-written in my own words in the README.md file the updated tutorial. But now I am stuck.</p>
  <p>None of the default username passwords work. And I even tried this:</p>
  <pre><code>cas.authn.accept.users=casuser::Mellon
  </code></pre>
  <p>But doesn't work either.</p>
  <p>I verified the path to the jsonResourcePassword.json and it is good.</p>
  <p>Same for the application.properties when I switch ports it changes it... So it is loading it.</p>
  <p>I tried also adding:</p>
  <pre><code>cas.authn.pm.enabled=true
  </code></pre>
  <p>Like it is documented but I get an error saying it's not supported in this version of CAS.</p>
  <p>You can also see in my repo what I have in the build.gradle.</p>
  <p>So the question. Why isn't it loading the json file with the username password and why isn't it working with the default username password found in values.yml?</p>
  <p><strong>UPDATE</strong></p>
  <p>The setting:</p>
  <pre><code>cas.authn.accept.users=casuser::Mellon
  </code></pre>
  <p>Now seems to work.</p>
  <p>I did this: <code>sudo sysctl -w fs.inotify.max_user_instances=256</code></p>
  <p>The value used to be 128.</p>
  <p>I saw this in <code>config-metadata.properties</code> that I generate with: <code>./gradlew exportConfigMetadata</code></p>
  <p>But I still cannot get he username and password in the json file to work.</p>
  <p>So that issue still persists.</p>