@@ -215,7 +215,7 @@ final class AuthenticationConfigBuilder {
215
215
216
216
AuthenticationConfigBuilder (Element element , boolean forceAutoConfig , ParserContext pc ,
217
217
SessionCreationPolicy sessionPolicy , BeanReference requestCache , BeanReference authenticationManager ,
218
- BeanReference authenticationFilterSecurityContextHolderStrategyRef ,
218
+ BeanMetadataElement authenticationFilterSecurityContextHolderStrategyRef ,
219
219
BeanReference authenticationFilterSecurityContextRepositoryRef , BeanReference sessionStrategy ,
220
220
BeanReference portMapper , BeanReference portResolver , BeanMetadataElement csrfLogoutHandler ) {
221
221
this .httpElt = element ;
@@ -272,7 +272,7 @@ private void createRememberMeProvider(String key) {
272
272
}
273
273
274
274
void createFormLoginFilter (BeanReference sessionStrategy , BeanReference authManager ,
275
- BeanReference authenticationFilterSecurityContextHolderStrategyRef ,
275
+ BeanMetadataElement authenticationFilterSecurityContextHolderStrategyRef ,
276
276
BeanReference authenticationFilterSecurityContextRepositoryRef ) {
277
277
Element formLoginElt = DomUtils .getChildElementByTagName (this .httpElt , Elements .FORM_LOGIN );
278
278
RootBeanDefinition formFilter = null ;
@@ -442,7 +442,7 @@ private void injectRememberMeServicesRef(RootBeanDefinition bean, String remembe
442
442
}
443
443
444
444
void createBasicFilter (BeanReference authManager ,
445
- BeanReference authenticationFilterSecurityContextHolderStrategyRef ) {
445
+ BeanMetadataElement authenticationFilterSecurityContextHolderStrategyRef ) {
446
446
Element basicAuthElt = DomUtils .getChildElementByTagName (this .httpElt , Elements .BASIC_AUTH );
447
447
if (basicAuthElt == null && !this .autoConfig ) {
448
448
// No basic auth, do nothing
@@ -612,7 +612,7 @@ void createLoginPageFilterIfNeeded() {
612
612
}
613
613
}
614
614
615
- void createLogoutFilter (BeanReference authenticationFilterSecurityContextHolderStrategyRef ) {
615
+ void createLogoutFilter (BeanMetadataElement authenticationFilterSecurityContextHolderStrategyRef ) {
616
616
Element logoutElt = DomUtils .getChildElementByTagName (this .httpElt , Elements .LOGOUT );
617
617
if (logoutElt != null || this .autoConfig ) {
618
618
String formLoginPage = this .formLoginPage ;
@@ -677,7 +677,7 @@ List<BeanDefinition> getCsrfIgnoreRequestMatchers() {
677
677
return this .csrfIgnoreRequestMatchers ;
678
678
}
679
679
680
- void createAnonymousFilter (BeanReference authenticationFilterSecurityContextHolderStrategyRef ) {
680
+ void createAnonymousFilter (BeanMetadataElement authenticationFilterSecurityContextHolderStrategyRef ) {
681
681
Element anonymousElt = DomUtils .getChildElementByTagName (this .httpElt , Elements .ANONYMOUS );
682
682
if (anonymousElt != null && "false" .equals (anonymousElt .getAttribute ("enabled" ))) {
683
683
return ;
@@ -723,7 +723,7 @@ private String createKey() {
723
723
return Long .toString (random .nextLong ());
724
724
}
725
725
726
- void createExceptionTranslationFilter (BeanReference authenticationFilterSecurityContextHolderStrategyRef ) {
726
+ void createExceptionTranslationFilter (BeanMetadataElement authenticationFilterSecurityContextHolderStrategyRef ) {
727
727
BeanDefinitionBuilder etfBuilder = BeanDefinitionBuilder .rootBeanDefinition (ExceptionTranslationFilter .class );
728
728
this .accessDeniedHandler = createAccessDeniedHandler (this .httpElt , this .pc );
729
729
etfBuilder .addPropertyValue ("accessDeniedHandler" , this .accessDeniedHandler );
0 commit comments