Example usage for org.springframework.security.web.authentication.logout SecurityContextLogoutHandler isInvalidateHttpSession

List of usage examples for org.springframework.security.web.authentication.logout SecurityContextLogoutHandler isInvalidateHttpSession

Introduction

In this page you can find the example usage for org.springframework.security.web.authentication.logout SecurityContextLogoutHandler isInvalidateHttpSession.

Prototype

public boolean isInvalidateHttpSession() 

Source Link

Usage

From source file:com.netflix.genie.web.security.saml.SAMLConfigUnitTests.java

/**
 * Make sure we can get a valid security context logout handler.
 *//* ww  w  .j  av  a 2  s.co  m*/
@Test
public void canGetSecurityContextLogoutHandler() {
    final SecurityContextLogoutHandler handler = this.config.logoutHandler();
    Assert.assertNotNull(handler);
    Assert.assertTrue(handler.isInvalidateHttpSession());
}