Class RevokeRefreshTokenLogoutHandler
- java.lang.Object
-
- com.broadleafcommerce.auth.user.session.embedded.RevokeRefreshTokenLogoutHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.logout.LogoutHandler
public class RevokeRefreshTokenLogoutHandler extends Object implements org.springframework.security.web.authentication.logout.LogoutHandler
Revoke refresh token on logout if provided.- Author:
- Cade Rea (cade-rea)
-
-
Constructor Summary
Constructors Constructor Description RevokeRefreshTokenLogoutHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DefaultRotatingTokenServices
getTokenServices()
void
logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
void
setTokenServices(DefaultRotatingTokenServices tokenServices)
-
-
-
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 interfaceorg.springframework.security.web.authentication.logout.LogoutHandler
-
setTokenServices
@Lazy @Autowired public void setTokenServices(DefaultRotatingTokenServices tokenServices)
-
getTokenServices
protected DefaultRotatingTokenServices getTokenServices()
-
-