|
@@ -170,7 +170,8 @@ public final class AuthorizeHttpRequestsConfigurer<H extends HttpSecurityBuilder
|
|
|
+ ". Try completing it with something like requestUrls().<something>.hasRole('USER')");
|
|
|
Assert.state(this.mappingCount > 0,
|
|
|
"At least one mapping is required (for example, authorizeHttpRequests().anyRequest().authenticated())");
|
|
|
- RequestMatcherDelegatingAuthorizationManager manager = postProcess(this.managerBuilder.build());
|
|
|
+ AuthorizationManager<HttpServletRequest> manager = postProcess(
|
|
|
+ (AuthorizationManager<HttpServletRequest>) this.managerBuilder.build());
|
|
|
return AuthorizeHttpRequestsConfigurer.this.postProcessor.postProcess(manager);
|
|
|
}
|
|
|
|