November 2017
Intermediate to advanced
542 pages
14h 24m
English
In order for Spring Security to be aware of our URL mappings, we need to provide a custom FilterInvocationSecurityMetadataSource implementation. The FilterInvocationSecurityMetadataSource package extends the SecurityMetadataSource interface which, given a particular HTTP request, is what provides Spring Security with the information necessary for determining if access should be granted. Let's take a look at how we can utilize our RequestConfigMappingService interface to implement a SecurityMetadataSource interface:
//src/main/java/com/packtpub/springsecurity/web/access/intercept/ FilterInvocationServiceSecurityMetadataSource.java @Component("filterInvocationServiceSecurityMetadataSource") public ...Read now
Unlock full access