How to display app API documentation by using springbok open-air we flux UI

I read this https://springdoc.github.io/springdoc-openapi-demos/ documentation to use springdoc-openapi-webflux-ui. As documentation said I just added springdoc-openapi-webflux-ui library to my app: implementation('org.springdoc:springdoc-openapi-webflux-ui:1.2.26') Additionally, I customized path to API in application.yml: springdoc: swagger-ui: path: /swagger-ui.html When I start…

1 Comment

Spring Security Maximum session timeout not working

We have this http.sessionManagement().maximumSessions(1).maxSessionsPreventsLogin(true) and http .logout() .logoutRequestMatcher(new AntPathRequestMatcher("/logout-gimli-user")).permitAll() .deleteCookies("JSESSIONID", "sessionid" /*, "sessdetail", "countfr"*/ ); and http .sessionManagement() .sessionCreationPolicy(SessionCreationPolicy.IF_REQUIRED) .invalidSessionUrl("/login?invalidSession") //dokunma .maximumSessions(1) //dokunma .maxSessionsPreventsLogin(true) //dokunma .expiredUrl("/login?expired") .sessionRegistry(sessionRegistry()); in public class…

1 Comment