2026-08-10T16:29:43.673Z INFO 374 --- [ Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.hs.accounts.HsAccountControllerAcceptanceTest$ListAccounts]: ListAccounts does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T16:29:43.674Z INFO 374 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.hs.accounts.HsAccountControllerAcceptanceTest$ListAccounts
ContextBasedTestWithCleanup.retrieveInitialTestData
normalUser_canListOnlyAccountsOfSamePerson(): TOTAL OBJECT COUNT (initial): 210 -> 210
[
{
"uuid": "9146ab47-4766-5d9c-b3c8-9ea1b8df568b",
"person": {
"uuid": "8894dff1-562b-4635-8ee7-56375a4469ea",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Drew",
"familyName": "User"
},
"subject": {
"uuid": "9146ab47-4766-5d9c-b3c8-9ea1b8df568b",
"name": "tst-drew_selfregistered",
"organization": "tst",
"type": "USER"
},
"globalUid": 1003,
"globalGid": 1003
}
]
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
normalUser_canListOnlyAccountsOfSamePerson(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
unknownUser_isNotAllowedToListAccounts(): TOTAL OBJECT COUNT (initial): 210 -> 210
2026-08-10T16:29:46.019Z WARN 374 --- [o-auto-1-exec-7] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: P0001
2026-08-10T16:29:46.019Z ERROR 374 --- [o-auto-1-exec-7] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: [401] subject unknown-user given in `base.defineContext(...)` does not exist or is deactivated
Where: PL/pgSQL function rbac.determinecurrentsubjectuuid(character varying) line 11 at RAISE
SQL statement "select rbac.determineCurrentSubjectUuid(currentSubject)"
PL/pgSQL function base.contextdefined(character varying,text,character varying,character varying,text) line 16 at SQL statement
SQL statement "call base.contextDefined(currentTask, currentRequest, currentSubject, assumedRoles, currentSubjectGroups)"
PL/pgSQL function base.definecontext(character varying,text,character varying,text,text) line 23 at CALL
{
"timestamp": "2026-08-10 04:29:46",
"path": "",
"statusCode": 401,
"statusPhrase": "Unauthorized",
"message": "ERROR: [401] subject unknown-user given in `base.defineContext(...)` does not exist or is deactivated"
}
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
unknownUser_isNotAllowedToListAccounts(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canListAllAccounts(): TOTAL OBJECT COUNT (initial): 210 -> 210
[
{
"uuid": "e72bcbba-3efe-5275-b57a-5194ece1cfa9",
"person": {
"uuid": "336076f8-5e19-4d3d-a886-b4fda292d6e5",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Alex",
"familyName": "Hostmaster"
},
"subject": {
"uuid": "e72bcbba-3efe-5275-b57a-5194ece1cfa9",
"name": "hsh-alex_superuser",
"organization": "hsh",
"type": "USER"
},
"globalUid": 1001,
"globalGid": 1001
},
{
"uuid": "8fb32bb1-4696-534f-93d1-b03df461d689",
"person": {
"uuid": "bc4d56d4-54b6-4281-a34e-296ea5087a09",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Fran",
"familyName": "Hostmaster"
},
"subject": {
"uuid": "8fb32bb1-4696-534f-93d1-b03df461d689",
"name": "hsh-fran_superuser",
"organization": "hsh",
"type": "USER"
},
"globalUid": 1002,
"globalGid": 1002
},
{
"uuid": "9146ab47-4766-5d9c-b3c8-9ea1b8df568b",
"person": {
"uuid": "8894dff1-562b-4635-8ee7-56375a4469ea",
"personType": "NATURAL_PERSON",
"tradeName": null,
"salutation": null,
"title": null,
"givenName": "Drew",
"familyName": "User"
},
"subject": {
"uuid": "9146ab47-4766-5d9c-b3c8-9ea1b8df568b",
"name": "tst-drew_selfregistered",
"organization": "tst",
"type": "USER"
},
"globalUid": 1003,
"globalGid": 1003
}
]
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canListAllAccounts(): TOTAL OBJECT COUNT (after): 210 -> 210