com.force.sdk.springsecurity
Class ForceLogoutHandler

java.lang.Object
  extended by com.force.sdk.springsecurity.ForceLogoutHandler
All Implemented Interfaces:
com.sforce.ws.SessionRenewer, org.springframework.security.web.authentication.logout.LogoutHandler

public class ForceLogoutHandler
extends Object
implements org.springframework.security.web.authentication.logout.LogoutHandler, com.sforce.ws.SessionRenewer

Called when a logout takes place. Handles the logout from the partner API.

Author:
John Simone

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sforce.ws.SessionRenewer
com.sforce.ws.SessionRenewer.SessionRenewalHeader
 
Constructor Summary
ForceLogoutHandler()
           
 
Method Summary
 void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
           
 com.sforce.ws.SessionRenewer.SessionRenewalHeader renewSession(com.sforce.ws.ConnectorConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForceLogoutHandler

public ForceLogoutHandler()
Method Detail

logout

public void logout(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response,
                   org.springframework.security.core.Authentication authentication)
Specified by:
logout in interface org.springframework.security.web.authentication.logout.LogoutHandler

renewSession

public com.sforce.ws.SessionRenewer.SessionRenewalHeader renewSession(com.sforce.ws.ConnectorConfig config)
                                                               throws com.sforce.ws.ConnectionException
Specified by:
renewSession in interface com.sforce.ws.SessionRenewer
Throws:
com.sforce.ws.ConnectionException


Copyright © 2011. All Rights Reserved.