Patent ID: 7703105

Claim:
A method for trapping an HTTP logout event comprising: receiving an HTTP request; checking if a URI of the HTTP request matches an entry in a first map comprising a plurality of logout URI entries for a set of applications; if the URI of the HTTP request matches an entry in the first map, then triggering a logout event for one of the applications in the set of applications corresponding to the matching entry in the first map; if the URI of the HTTP request does not match an entry in the first map, then looking for an entry in a second map; wherein looking for an entry in a second map comprises looking for an entry in a logout parameter map comprising a plurality of logout parameter values for the set of applications that matches a logout request in a list of query parameters in the received HTTP request; checking for a logout parameter in a list of request query parameters if an entry is found in the logout parameter map; checking for a logout parameter in a header of the HTTP request if a logout parameter is not found in the list of request query parameters; checking for permission to inspect a body of the HTTP request if a logout parameter is not found in the header of the HTTP request; searching for a logout handler in a third map; calling the logout handler if the logout hander is found in the third map and synchronizing an HTTP session; and calling a global logout handler if a logout handler is not found in the third map.