July 2018
Intermediate to advanced
268 pages
7h 36m
English
Creating the CasAuthenticationFilter bean is quite straightforward, as we just assign the serviceProperties that we created to the CasAuthenticationFilter:
@Beanpublic CasAuthenticationFilter casAuthenticationFilter(ServiceProperties serviceProperties) throws Exception { CasAuthenticationFilter filter = new CasAuthenticationFilter(); filter.setServiceProperties(serviceProperties); filter.setAuthenticationManager(authenticationManager()); return filter;}
Read now
Unlock full access