How to logout a Sheetster Server user utilizing a REST call

In plugin environments, sometimes users will not have access to the standard sheetster login functions. We have created a hook for these cases that can be accessed as a REST call. Note that this call will only logout the user for the session that is calling, you cannot logout users under other sessions.

http://DOMAINNAME/workbook/id/-2/xhtml/system/logout

will log out the existing user. An xml response of true is returned from the call.

Note that if you want additional handling of logging out you can implement the logout method in your Auth plugin. If you do override logout with your local Auth class, be sure to call super.logout() in order to logout the internal sheetster user.

public void logout(Map parameters) 
{
	super.logout(parameters);
	// your custom code here
}