How to change the source url of the LogoutRequest?

Joram Barrez joram.barrez at gmail.com
Wed Nov 26 07:23:45 EST 2008


Hi list,

We have a CAS setup using 2 JBoss instances in cluster. We use LVS in front
of these servers such that client applications only need to use ip A:


          LVS (ip A)
          /     \
         /       \
       /          \
     /             \
   /                 \
JBoss 1 (ip B) JBoss 2 (ipC)


Problem: When sending a logoutRequest, the CAS code uses the default (eth0)
network interface.
Which means that the logoutRequest is send from ip B or ip C and not from ip
A

Using the PHP client, logging out does not work:
  Allowed client 'ipA' does not match
  Unauthorized logout request from client ''IPC' [CAS.php:484]

We also do not want to remove this check from the client.

So my question is: how can I change the 'local address' in CAS?

Regards

Joram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20081126/be52185b/attachment.html 


More information about the cas mailing list