-
Notifications
You must be signed in to change notification settings - Fork 274
Closed
Milestone
Description
Description
Unable to request default login form with logbook-spring-boot-starter in the dependencies. As soon I remove dependency or set logbook.filter.enable=false property - everything works as expected.
Expected Behavior
I should be able to access login form with enabled LogbookFilter
Actual Behavior
I have simple spring boot application with default authentication form. With logbook-spring-boot-starter - application starts, but I am unable to reach login form. For different web servers I can see next behaviour:
- Tomcat: continuous load
- Jetty: 500 error with "insufficient content written" message
- Undertow: empty reply from server with "Fixed length stream closed with with 1317 bytes remaining" message in logs
Context
- logbook-spring-boot-starter version: 1.13.0
- Spring Boot version: 2.1.2.RELEASE
My security configs:
@Override
protected void configure(HttpSecurity http) throws Exception {
http
.csrf().disable()
.authorizeRequests()
// .antMatchers("/api/**").permitAll()
.anyRequest().authenticated()
.and().formLogin();
}
If I uncomment line with permitAll - I still can not access login form, while api works as expected and I can see logged requests and responses.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels