I was looking through the questions between CAS and Spring Security, but I have not found the exact situation for this. My question is in regards with Setting up Spring Security to have it's users based off CAS.
Currently, we are modifying CAS to access the users itself, however, the app is guarded by Spring Security. As of now, CAS - Spring Security seems to delegate that we make our own custom UserService to get the users, but what If the users are from CAS itself?
Is there a way to recognize that when CAS finds the credentials valid, then Spring Security will also agree with it and do nothing? Or is that not how it should work?
What are your suggestions to remedy this problem?