Example usage for org.springframework.security.web.authentication.logout LogoutFilter setLogoutRequestMatcher

List of usage examples for org.springframework.security.web.authentication.logout LogoutFilter setLogoutRequestMatcher

Introduction

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

Prototype

public void setLogoutRequestMatcher(RequestMatcher logoutRequestMatcher) 

Source Link

Usage

From source file:de.thm.arsnova.config.SecurityConfig.java

@Bean
public LogoutFilter casLogoutFilter() {
    LogoutFilter filter = new LogoutFilter(casLogoutSuccessHandler(), logoutHandler());
    filter.setLogoutRequestMatcher(new AntPathRequestMatcher("/j_spring_cas_security_logout"));

    return filter;
}