There is a requirement that the users should first accept some license agreement, which exists only in serviceA, in order to be able to login to all other services.
So the process should be:
- user logs-in through CAS.
- Because he has not accepted the agreement he can only login to serviceA
- when he accepts the agreement on serviceA, then he can login to other services also.
Notes:
The code for services other than serviceA cannot be modified.
Also CAS has access to the agreement_accepted flag.
CAS Version used: 5.3.4