org.codehaus.groovy.grails.plugins.springsecurity.facebook
Class FacebookLogoutHandler
java.lang.Object
org.codehaus.groovy.grails.plugins.springsecurity.facebook.FacebookLogoutHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.security.ui.logout.LogoutHandler
public class FacebookLogoutHandler
- extends Object
- implements org.springframework.security.ui.logout.LogoutHandler, org.springframework.beans.factory.InitializingBean
Removes cookies at logout.
- Author:
- Burt Beckwith
Method Summary |
void |
afterPropertiesSet()
|
void |
logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.Authentication authentication)
|
void |
setApiKey(String key)
Dependency injection for the API key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacebookLogoutHandler
public FacebookLogoutHandler()
logout
public void logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.Authentication authentication)
-
- Specified by:
logout
in interface org.springframework.security.ui.logout.LogoutHandler
- See Also:
LogoutHandler.logout(
javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse,
org.springframework.security.Authentication)
setApiKey
public void setApiKey(String key)
- Dependency injection for the API key.
- Parameters:
key
- the key
afterPropertiesSet
public void afterPropertiesSet()
-
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- See Also:
InitializingBean.afterPropertiesSet()