Java Code Examples for org.springframework.security.cas.web.CasAuthenticationFilter#setFilterProcessesUrl()

The following examples show how to use org.springframework.security.cas.web.CasAuthenticationFilter#setFilterProcessesUrl() . 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 vote down vote up
/**
 * 认证过滤器
 */
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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@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 vote down vote up
@Bean
public CasAuthenticationFilter casFilter() {
    CasAuthenticationFilter casAuthenticationFilter = new CasAuthenticationFilter();
    casAuthenticationFilter.setAuthenticationManager(authenticationManager);
    casAuthenticationFilter.setFilterProcessesUrl("/login");
    return casAuthenticationFilter;
}