- java.lang.Object
-
- org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
-
- org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
-
- com.azure.spring.autoconfigure.b2c.AADB2CLogoutSuccessHandler
-
- All Implemented Interfaces:
- org.springframework.security.web.authentication.logout.LogoutSuccessHandler
public class AADB2CLogoutSuccessHandler
extends org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
Get the url of successful logout and handle the navigation on logout.
-
-
Field Summary
-
Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
logger
-
Method Summary
All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
void |
onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
-
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler
determineTargetUrl, determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onLogoutSuccess
public void onLogoutSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws IOException,
javax.servlet.ServletException
- Specified by:
onLogoutSuccess in interface org.springframework.security.web.authentication.logout.LogoutSuccessHandler
- Overrides:
onLogoutSuccess in class org.springframework.security.web.authentication.logout.SimpleUrlLogoutSuccessHandler
- Throws:
IOException
javax.servlet.ServletException
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.