WebSecurityConfigIntegrationTest

20

tests

0

failures

0

ignored

0.721s

duration

100%

successful

Tests

Test Duration Result
accessToActuatorEndpointShouldBePermitted() 0.067s passed
accessToActuatorShouldBePermitted() 0.041s passed
accessToApiDefinitionsShouldBePermitted() 0.044s passed
accessToApiDocsEndpointShouldBePermitted() 0.030s passed
accessToApiWithValidJwtShouldBePermitted() 0.042s passed
accessToBundledDocumentationShouldBePermitted() 0.021s passed
accessToDocumentationDirectoryShouldServeItsIndex() 0.194s passed
accessToOpenApiWithoutTokenShouldBePermitted() 0.014s passed
accessToProtectedApiWithInvalidTokenShouldBeDenied() 0.010s passed
accessToSwaggerUiShouldBePermitted() 0.018s passed
actualPingRequestAllowsAnyOrigin() 0.028s passed
actualPongPostWithInvalidTokenAndAllowedOriginReturnsUnauthorizedWithCorsHeader() 0.044s passed
actualPongPostWithInvalidTokenAndDeniedOriginIsRejectedByCors() 0.010s passed
actualPongRequestWithInvalidTokenAndAllowedOriginReturnsUnauthorizedWithCorsHeader() 0.019s passed
actualPongRequestWithInvalidTokenAndDeniedOriginIsRejectedByCors() 0.012s passed
preflightPostToPongAllowsConfiguredOrigin() 0.010s passed
preflightPostToPongBlocksOtherOrigin() 0.040s passed
preflightToPingAllowsAnyOrigin() 0.021s passed
preflightToPongAllowsConfiguredOrigin() 0.040s passed
preflightToPongBlocksOtherOrigin() 0.016s passed

Standard output

2026-08-10T15:03:40.397Z  INFO 373 --- [    Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.config.WebSecurityConfigIntegrationTest]: WebSecurityConfigIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T15:03:40.572Z  INFO 373 --- [    Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.config.WebSecurityConfigIntegrationTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v3.5.5)

2026-08-10T15:03:40.673Z  INFO 373 --- [    Test worker] n.h.h.c.WebSecurityConfigIntegrationTest : Starting WebSecurityConfigIntegrationTest using Java 21.0.11 with PID 373 (started by root in /home/tallyman/hs.hsadmin.ng/.git/gittally/worktrees/mihoe_base-tx-context-seqTxId-performance-3915db90eedb)
2026-08-10T15:03:40.673Z  INFO 373 --- [    Test worker] n.h.h.c.WebSecurityConfigIntegrationTest : The following 1 profile is active: "fake-jwt"
2026-08-10T15:03:41.357Z  INFO 373 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-08-10T15:03:41.472Z  INFO 373 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 112 ms. Found 35 JPA repository interfaces.
2026-08-10T15:03:41.611Z  INFO 373 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 0 (http)
2026-08-10T15:03:41.615Z  INFO 373 --- [    Test worker] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2026-08-10T15:03:41.615Z  INFO 373 --- [    Test worker] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.44]
2026-08-10T15:03:41.638Z  INFO 373 --- [    Test worker] o.a.c.c.C.[Tomcat-4].[localhost].[/]     : Initializing Spring embedded WebApplicationContext
2026-08-10T15:03:41.641Z  INFO 373 --- [    Test worker] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 967 ms
2026-08-10T15:03:41.758Z  INFO 373 --- [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Starting...
2026-08-10T15:03:41.798Z  INFO 373 --- [    Test worker] com.zaxxer.hikari.pool.HikariPool        : HikariPool-3 - Added connection org.testcontainers.jdbc.ConnectionWrapper@4f1daf24
2026-08-10T15:03:41.798Z  INFO 373 --- [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-3 - Start completed.
2026-08-10T15:03:42.469Z  WARN 373 --- [    Test worker] liquibase.executor                       : Context defined as: testing currentSubjectUuid, , hsh-fran_superuser, []
2026-08-10T15:03:42.469Z  WARN 373 --- [    Test worker] liquibase.executor                       : Context defined as: testing currentSubjectUuid, , hsh-alex_superuser, []
2026-08-10T15:03:42.569Z  INFO 373 --- [    Test worker] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-08-10T15:03:42.571Z  INFO 373 --- [    Test worker] o.h.c.internal.RegionFactoryInitiator    : HHH000026: Second-level cache disabled
2026-08-10T15:03:42.581Z  INFO 373 --- [    Test worker] org.hibernate.orm.connections.pooling    : HHH10001005: Database info:
	Database JDBC URL [Connecting through datasource 'proxyDataSourceDecorator [net.ttddyy.dsproxy.support.ProxyDataSource] -> dataSource [com.zaxxer.hikari.HikariDataSource]']
	Database driver: undefined/unknown
	Database version: 15.5
	Autocommit mode: undefined/unknown
	Isolation level: undefined/unknown
	Minimum pool size: undefined/unknown
	Maximum pool size: undefined/unknown
2026-08-10T15:03:42.596Z  INFO 373 --- [    Test worker] o.s.o.j.p.SpringPersistenceUnitInfo      : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-08-10T15:03:42.657Z  WARN 373 --- [    Test worker] o.h.boot.model.internal.ToOneBinder      : HHH000491: 'net.hostsharing.hsadminng.hs.office.debitor.HsOfficeDebitorEntity.partner' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T15:03:42.658Z  WARN 373 --- [    Test worker] o.h.boot.model.internal.ToOneBinder      : HHH000491: 'net.hostsharing.hsadminng.hs.office.debitor.HsOfficeDebitorEntity.refundBankAccount' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T15:03:42.667Z  WARN 373 --- [    Test worker] o.h.boot.model.internal.ToOneBinder      : HHH000491: 'net.hostsharing.hsadminng.hs.office.partner.HsOfficePartnerRbacEntity.details' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T15:03:42.670Z  WARN 373 --- [    Test worker] o.h.boot.model.internal.ToOneBinder      : HHH000491: 'net.hostsharing.hsadminng.hs.office.partner.HsOfficePartnerRealEntity.details' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T15:03:43.232Z  INFO 373 --- [    Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator       : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-08-10T15:03:43.233Z  INFO 373 --- [    Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-08-10T15:03:44.094Z  WARN 373 --- [    Test worker] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2026-08-10T15:03:44.629Z  INFO 373 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 37297 (http) with context path '/'
2026-08-10T15:03:44.663Z  INFO 373 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 0 (http)
2026-08-10T15:03:44.665Z  INFO 373 --- [    Test worker] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2026-08-10T15:03:44.665Z  INFO 373 --- [    Test worker] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.44]
2026-08-10T15:03:44.683Z  INFO 373 --- [    Test worker] o.a.c.c.C.[Tomcat-5].[localhost].[/]     : Initializing Spring embedded WebApplicationContext
2026-08-10T15:03:44.683Z  INFO 373 --- [    Test worker] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 51 ms
2026-08-10T15:03:44.692Z  INFO 373 --- [    Test worker] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 5 endpoints beneath base path '/actuator'
2026-08-10T15:03:44.722Z  INFO 373 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 34349 (http) with context path '/'
2026-08-10T15:03:44.761Z  INFO 373 --- [    Test worker] n.h.h.c.WebSecurityConfigIntegrationTest : Started WebSecurityConfigIntegrationTest in 4.157 seconds (process running for 73.733)
2026-08-10T15:03:44.892Z  INFO 373 --- [o-auto-5-exec-1] o.a.c.c.C.[Tomcat-4].[localhost].[/]     : Initializing Spring DispatcherServlet 'dispatcherServlet'
2026-08-10T15:03:44.892Z  INFO 373 --- [o-auto-5-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2026-08-10T15:03:44.894Z  INFO 373 --- [o-auto-5-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 2 ms
2026-08-10T15:03:45.090Z  INFO 373 --- [1-auto-6-exec-1] o.a.c.c.C.[Tomcat-5].[localhost].[/]     : Initializing Spring DispatcherServlet 'dispatcherServletRegistration'
2026-08-10T15:03:45.090Z  INFO 373 --- [1-auto-6-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServletRegistration'
2026-08-10T15:03:45.091Z  INFO 373 --- [1-auto-6-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms