Skip to content

Commit 71828f0

Browse files
committed
fix: retain WebSecurity configure hook
1 parent 05ccc8c commit 71828f0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/org/springframework/security/boot/WebSecurityBizConfigurerAdapter.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.springframework.security.boot.biz.property.SecurityAuthcProperties;
1616
import org.springframework.security.boot.biz.property.SecuritySessionMgtProperties;
1717
import org.springframework.security.boot.utils.WebSecurityUtils;
18+
import org.springframework.security.config.annotation.web.builders.WebSecurity;
1819
import org.springframework.security.core.session.SessionRegistry;
1920
import org.springframework.security.core.session.SessionRegistryImpl;
2021
import org.springframework.security.web.AuthenticationEntryPoint;
@@ -112,4 +113,8 @@ protected SessionInformationExpiredStrategy sessionInformationExpiredStrategy()
112113
return null;
113114
}
114115

116+
public void configure(WebSecurity web) throws Exception {
117+
customize(web);
118+
}
119+
115120
}

0 commit comments

Comments
 (0)