Pub/Sub type of an architecture comes to mind in this case. This would imply that CAS server would need to have a mechanism to publish these events into a loosely coupled communication channel e.g. MOM endpoint, ESB channel, etc.
Dmitriy. Sent from my iPad On Oct 22, 2011, at 5:24 PM, "Bodine, James" <[email protected]> wrote: > Thanks for the suggestion David. Unfortunately we don’t have the service in > question using a cas client. The application “Banner Self Service” is using > older special code to allow it to interact with cas. I’m trying to see if I > can accomplish this on the cas server side first. If not I may have to try > and re-work the client side. > > > > > > James Bodine > > Manager, Web Services & Middleware > > Fort Lewis College - Information Technology > > 970-247-7304 > > [email protected] > > > > From: David Hatanian [mailto:[email protected]] > Sent: Saturday, October 22, 2011 1:01 PM > To: [email protected] > Subject: Re: [cas-user] Unique Logout Procedure > > > > Hi James, > > > > If Single Sign Out is working correctly on your setup, and if the database > procedure only concerns service2, what I would do is creating a > Sevice2SingleSignOutHttpSessionListener which inherits from > SingleSignOutHttpSessionListener, and calls the desired database procedure > when removeSession is called. > > This special Listener would only be used in Service2. The other services > would keep the usual SingleSignOutHttpSessionListener. > > > > Cheers, > > David > > 2011/10/22 Bodine, James <[email protected]> > > I have a unique situation where I need to call a database procedure for a > particular service when a user logs out of cas. For example user1 logs into > service1 and then via sso is logged into service2. User1 then logs out of > service1. During the logout flow I need a database procedure to be called > for service2 with a parameter of the id for user1. I have a jndi datasource > that I would like to use as it already gets used an attribute source for the > users. Is it possible to do something like this? I’ve looked at the code > and have actually tried a couple of things but so far have been unsuccessful. > > > > We are running CAS 3.4.2.1 using the war overlay method. > > > > Please let me know if you have about what I’m trying to accomplish and thanks > in advance for your possible suggestions. > > > > James > > > > James Bodine > > Manager, Web Services & Middleware > > Fort Lewis College - Information Technology > > 970-247-7304 > > [email protected] > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
