Java Code Examples for org.springframework.security.cas.web.CasAuthenticationFilter#setAuthenticationManager()
The following examples show how to use
org.springframework.security.cas.web.CasAuthenticationFilter#setAuthenticationManager() .
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: WebSecurityConfig.java From dubbo-postman with MIT License | 5 votes |
/** * 认证过滤器 */ public CasAuthenticationFilter casAuthenticationFilter() throws Exception { CasAuthenticationFilter filter = new CasAuthenticationFilter(); filter.setAuthenticationManager(authenticationManager()); filter.setFilterProcessesUrl("/cas_security_check"); return filter; }
Example 2
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public CasAuthenticationFilter casFilter() { CasAuthenticationFilter caf = new CasAuthenticationFilter(); caf.setAuthenticationManager(authenticationManager); caf.setFilterProcessesUrl("/login"); caf.setProxyGrantingTicketStorage(pgtStorage()); caf.setProxyReceptorUrl("/pgtUrl"); return caf; }
Example 3
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public CasAuthenticationFilter casFilter() { CasAuthenticationFilter casAuthenticationFilter = new CasAuthenticationFilter(); casAuthenticationFilter.setAuthenticationManager(authenticationManager); casAuthenticationFilter.setFilterProcessesUrl("/login"); return casAuthenticationFilter; }
Example 4
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public CasAuthenticationFilter casFilter() { CasAuthenticationFilter caf = new CasAuthenticationFilter(); caf.setAuthenticationManager(authenticationManager); caf.setFilterProcessesUrl("/login"); caf.setProxyGrantingTicketStorage(pgtStorage()); caf.setProxyReceptorUrl("/pgtUrl"); caf.setServiceProperties(serviceProperties()); caf.setAuthenticationDetailsSource( new ServiceAuthenticationDetailsSource( serviceProperties()) ); return caf; }
Example 5
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public CasAuthenticationFilter casFilter() { CasAuthenticationFilter caf = new CasAuthenticationFilter(); caf.setAuthenticationManager(authenticationManager); caf.setFilterProcessesUrl("/login"); caf.setProxyGrantingTicketStorage(pgtStorage()); caf.setProxyReceptorUrl("/pgtUrl"); caf.setServiceProperties(serviceProperties()); caf.setAuthenticationDetailsSource( new ServiceAuthenticationDetailsSource( serviceProperties()) ); return caf; }
Example 6
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public CasAuthenticationFilter casFilter() { CasAuthenticationFilter caf = new CasAuthenticationFilter(); caf.setAuthenticationManager(authenticationManager); caf.setFilterProcessesUrl("/login"); caf.setProxyGrantingTicketStorage(pgtStorage()); caf.setProxyReceptorUrl("/pgtUrl"); caf.setServiceProperties(serviceProperties()); caf.setAuthenticationDetailsSource( new ServiceAuthenticationDetailsSource( serviceProperties()) ); return caf; }
Example 7
Source File: CasConfig.java From Spring-Security-Third-Edition with MIT License | 5 votes |
@Bean public CasAuthenticationFilter casFilter() { CasAuthenticationFilter casAuthenticationFilter = new CasAuthenticationFilter(); casAuthenticationFilter.setAuthenticationManager(authenticationManager); casAuthenticationFilter.setFilterProcessesUrl("/login"); return casAuthenticationFilter; }
Example 8
Source File: CasSecuredApplication.java From tutorials with MIT License | 5 votes |
@Bean public CasAuthenticationFilter casAuthenticationFilter( AuthenticationManager authenticationManager, ServiceProperties serviceProperties) throws Exception { CasAuthenticationFilter filter = new CasAuthenticationFilter(); filter.setAuthenticationManager(authenticationManager); filter.setServiceProperties(serviceProperties); return filter; }
Example 9
Source File: SpringWebConfig.java From we-cmdb with Apache License 2.0 | 4 votes |
public CasAuthenticationFilter casAuthenticationFilter() throws Exception { CasAuthenticationFilter filter = new CasAuthenticationFilter(); filter.setAuthenticationManager(authenticationManager()); return filter; }