Waffle + Spring Boot

111 views
Skip to first unread message

Leon Mirbach

unread,
Mar 11, 2021, 11:19:57 AM3/11/21
to waffle...@googlegroups.com
Dear Daniel,
dear group,

I am struggling with an spring boot example https://github.com/mgoldgeier/waffle-spring-boot-demo which works only with http://localhost:8080.

When I am trying to start this example with http://0104D-ITPM001:8080 so the basic authentication is starting and sso . I want to have the same behavior like localhost:8080.

Can you please help? Here is my log:
  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::       (v2.5.0-SNAPSHOT)

2021-03-11 12:43:48.616  INFO 5192 --- [           main] de.pbeakk.muell.MuellApplication         : Starting MuellApplication v0.0.1-SNAPSHOT using Java 1.8.0_201-2-redhat on 0104D-ITPM001 with PID 5192 (D:\Programs\authtest\muell-0.0.1-SNAPSHOT.jar started by mirbashirir-sa in D:\Programs\authtest)
2021-03-11 12:43:48.631  INFO 5192 --- [           main] de.pbeakk.muell.MuellApplication         : No active profile set, falling back to default profiles: default
2021-03-11 12:43:51.006  INFO 5192 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2021-03-11 12:43:51.022  INFO 5192 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2021-03-11 12:43:51.022  INFO 5192 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.43]
2021-03-11 12:43:51.600  INFO 5192 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2021-03-11 12:43:51.600  INFO 5192 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2766 ms
2021-03-11 12:43:51.678  INFO 5192 --- [           main] w.s.s.SecurityFilterProviderCollection   : using 'waffle.servlet.spi.NegotiateSecurityFilterProvider'
2021-03-11 12:43:51.678  INFO 5192 --- [           main] w.s.s.SecurityFilterProviderCollection   : using 'waffle.servlet.spi.BasicSecurityFilterProvider'
2021-03-11 12:43:51.694 DEBUG 5192 --- [           main] waffle.spring.NegotiateSecurityFilter    : [waffle.spring.NegotiateSecurityFilter] loaded
2021-03-11 12:43:51.725  INFO 5192 --- [           main] o.s.boot.web.servlet.RegistrationBean    : Filter negotiateSecurityFilter was not registered (disabled)
2021-03-11 12:43:51.897 DEBUG 5192 --- [           main] w.s.NegotiateSecurityFilterEntryPoint    : [waffle.spring.NegotiateEntryPoint] loaded
2021-03-11 12:43:52.194  INFO 5192 --- [           main] o.s.s.web.DefaultSecurityFilterChain     : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@3d285d7e, org.springframework.security.web.context.SecurityContextPersistenceFilter@662ac478, org.springframework.security.web.header.HeaderWriterFilter@217ed35e, org.springframework.security.web.authentication.logout.LogoutFilter@185a6e9, waffle.spring.NegotiateSecurityFilter@38c6f217, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@26794848, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@3eb25e1a, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@f5958c9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@40005471, org.springframework.security.web.session.SessionManagementFilter@229f66ed, org.springframework.security.web.access.ExceptionTranslationFilter@139982de, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@4b2bac3f]
2021-03-11 12:43:52.428  INFO 5192 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2021-03-11 12:43:52.803  INFO 5192 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2021-03-11 12:43:52.835  INFO 5192 --- [           main] de.pbeakk.muell.MuellApplication         : Started MuellApplication in 5.052 seconds (JVM running for 6.561)
2021-03-11 12:44:16.017  INFO 5192 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2021-03-11 12:44:16.017  INFO 5192 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2021-03-11 12:44:16.033  INFO 5192 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 16 ms
2021-03-11 12:44:16.049 DEBUG 5192 --- [nio-8080-exec-1] waffle.spring.NegotiateSecurityFilter    : GET /, contentlength: -1
2021-03-11 12:44:16.080 DEBUG 5192 --- [nio-8080-exec-1] w.s.NegotiateSecurityFilterEntryPoint    : [waffle.spring.NegotiateEntryPoint] commence
2021-03-11 12:44:16.283 DEBUG 5192 --- [nio-8080-exec-8] waffle.spring.NegotiateSecurityFilter    : GET /, contentlength: -1
2021-03-11 12:44:16.283 DEBUG 5192 --- [nio-8080-exec-8] w.s.spi.NegotiateSecurityFilterProvider  : security package: Negotiate, connection id: 172.20.18.238:49405
2021-03-11 12:44:16.314 DEBUG 5192 --- [nio-8080-exec-8] w.s.spi.NegotiateSecurityFilterProvider  : token buffer: 2848 byte(s)
2021-03-11 12:44:16.439 DEBUG 5192 --- [nio-8080-exec-8] w.s.spi.NegotiateSecurityFilterProvider  : continue token: oYGKMIGHoAMKAQGhCwYJKoZIgvcSAQIConMEcWBvBgkqhkiG9xIBAgIDAH5gMF6gAwIBBaEDAgEepBEYDzIwMjEwMzExMTE0NDE2WqUFAgMJeZimAwIBKakWGxRCQU5TVC1TLkJBTlNULVBULklOVKobMBmgAwIBAaESMBAbDm1pcmJhc2hpcmlyLXNh
2021-03-11 12:44:16.439 DEBUG 5192 --- [nio-8080-exec-8] w.s.spi.NegotiateSecurityFilterProvider  : continue required: true
2021-03-11 12:44:16.689 DEBUG 5192 --- [nio-8080-exec-6] waffle.spring.NegotiateSecurityFilter    : GET /, contentlength: -1
2021-03-11 12:44:16.689 DEBUG 5192 --- [nio-8080-exec-6] w.s.spi.NegotiateSecurityFilterProvider  : security package: Negotiate, connection id: 172.20.18.238:49405
2021-03-11 12:44:16.705 DEBUG 5192 --- [nio-8080-exec-6] w.s.spi.NegotiateSecurityFilterProvider  : token buffer: 2791 byte(s)
2021-03-11 12:44:16.705 DEBUG 5192 --- [nio-8080-exec-6] w.s.spi.NegotiateSecurityFilterProvider  : continue token: oXwweqADCgEBonMEcWBvBgkqhkiG9xIBAgIDAH5gMF6gAwIBBaEDAgEepBEYDzIwMjEwMzExMTE0NDE2WqUFAgMNxEWmAwIBKakWGxRCQU5TVC1TLkJBTlNULVBULklOVKobMBmgAwIBAaESMBAbDm1pcmJhc2hpcmlyLXNh
2021-03-11 12:44:16.705 DEBUG 5192 --- [nio-8080-exec-6] w.s.spi.NegotiateSecurityFilterProvider  : continue required: true
2021-03-11 12:44:16.767 DEBUG 5192 --- [io-8080-exec-10] waffle.spring.NegotiateSecurityFilter    : GET /, contentlength: -1
2021-03-11 12:44:16.767 DEBUG 5192 --- [io-8080-exec-10] w.s.NegotiateSecurityFilterEntryPoint    : [waffle.spring.NegotiateEntryPoint] commence

Thanks,

Leon
Reply all
Reply to author
Forward
0 new messages