org.jasig.cas.client.session.SingleSignOutFilter Java Examples
The following examples show how to use
org.jasig.cas.client.session.SingleSignOutFilter.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SecurityConfiguration.java From cymbal with Apache License 2.0 | 5 votes |
@Bean public FilterRegistrationBean ssoFilterRegistrationBean(final SingleSignOutFilter singleSignOutFilter) { FilterRegistrationBean filterRegistrationBean = new FilterRegistrationBean(); filterRegistrationBean.setFilter(singleSignOutFilter); filterRegistrationBean.addUrlPatterns("/*"); filterRegistrationBean.setOrder(1); return filterRegistrationBean; }
Example #2
Source File: CasCustomConfig.java From CAS with Apache License 2.0 | 5 votes |
/** * 该过滤器用于实现单点登出功能,单点退出配置,一定要放在其他filter之前 * * @return */ @Bean public FilterRegistrationBean singleSignOutFilter() { FilterRegistrationBean filterRegistration = new FilterRegistrationBean(); filterRegistration.setFilter(new SingleSignOutFilter()); filterRegistration.setEnabled(casEnabled); if (autoconfig.getSignOutFilters().size() > 0) { filterRegistration.setUrlPatterns(autoconfig.getSignOutFilters()); } else { filterRegistration.addUrlPatterns("/*"); } filterRegistration.addInitParameter("casServerUrlPrefix", autoconfig.getCasServerUrlPrefix()); filterRegistration.setOrder(3); return filterRegistration; }
Example #3
Source File: CasCustomConfig.java From CAS with Apache License 2.0 | 5 votes |
/** * 该过滤器用于实现单点登出功能,单点退出配置,一定要放在其他filter之前 * * @return */ @Bean public FilterRegistrationBean singleSignOutFilter() { FilterRegistrationBean filterRegistration = new FilterRegistrationBean(); filterRegistration.setFilter(new SingleSignOutFilter()); filterRegistration.setEnabled(casEnabled); if (autoconfig.getSignOutFilters().size() > 0) { filterRegistration.setUrlPatterns(autoconfig.getSignOutFilters()); } else { filterRegistration.addUrlPatterns("/*"); } filterRegistration.addInitParameter("casServerUrlPrefix", autoconfig.getCasServerUrlPrefix()); filterRegistration.setOrder(3); return filterRegistration; }
Example #4
Source File: CasCustomConfig.java From CAS with Apache License 2.0 | 5 votes |
/** * 该过滤器用于实现单点登出功能,单点退出配置,一定要放在其他filter之前 * * @return */ @Bean public FilterRegistrationBean singleSignOutFilter() { FilterRegistrationBean filterRegistration = new FilterRegistrationBean(); filterRegistration.setFilter(new SingleSignOutFilter()); filterRegistration.setEnabled(casEnabled); if (autoconfig.getSignOutFilters().size() > 0) { filterRegistration.setUrlPatterns(autoconfig.getSignOutFilters()); } else { filterRegistration.addUrlPatterns("/*"); } filterRegistration.addInitParameter("casServerUrlPrefix", autoconfig.getCasServerUrlPrefix()); filterRegistration.setOrder(3); return filterRegistration; }
Example #5
Source File: WebSecurityConfig.java From tutorials with MIT License | 5 votes |
@Autowired public WebSecurityConfig(SingleSignOutFilter singleSignOutFilter, LogoutFilter logoutFilter, CasAuthenticationProvider casAuthenticationProvider, ServiceProperties serviceProperties) { this.logoutFilter = logoutFilter; this.singleSignOutFilter = singleSignOutFilter; this.serviceProperties = serviceProperties; this.casAuthenticationProvider = casAuthenticationProvider; }
Example #6
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
/** * Single point logout filter */ @Bean public SingleSignOutFilter singleSignOutFilter() { return new SingleSignOutFilter(); }
Example #7
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
/** * Single point logout filter */ @Bean public SingleSignOutFilter singleSignOutFilter() { return new SingleSignOutFilter(); }
Example #8
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
/** * Single point logout filter */ @Bean public SingleSignOutFilter singleSignOutFilter() { return new SingleSignOutFilter(); }
Example #9
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
/** * Single point logout filter */ @Bean public SingleSignOutFilter singleSignOutFilter() { return new SingleSignOutFilter(); }
Example #10
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 4 votes |
/** * Single point logout filter */ @Bean public SingleSignOutFilter singleSignOutFilter() { return new SingleSignOutFilter(); }