generated from ministryofjustice/hmpps-template-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NON-318: Sync changes from templates (#311)
* Use non-deprecated `internal` allow list group Ref: ministryofjustice/hmpps-ip-allowlists#21 * hmpps-template-kotlin#215: Remove version from health and logging * Use latest HMPPS kotlin test library and adopt their JWT authorisation helper * Use HMPPS kotlin test library’s with-user annotation * Adopt authentication holder from HMPPS kotlin library * Remove product ID contributor in favour of `uk.gov.justice.hmpps.kotlin.health.ProductIdInfoContributor` * Mark web application type as using servlets * Remove unused/unnecessary components related to traces * Report auth token’s principal (username or client-id) in audit events instead of falling back to SYSTEM_USER which is not really the actor in these cases * Use concrete authentication holder in service test --------- Co-authored-by: petergphillips <[email protected]>
- Loading branch information
1 parent
c0c4dfc
commit d2fc7fc
Showing
23 changed files
with
79 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 0 additions & 51 deletions
51
...in/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/config/AuthAwareTokenConverter.kt
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
...otlin/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/config/AuthenticationFacade.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/health/HealthInfo.kt
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...n/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/health/ProductIdInfoContributor.kt
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
...in/kotlin/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/health/VersionOutputter.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
...n/kotlin/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/utils/JwtAuthInterceptor.kt
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/utils/UserContext.kt
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
...in/kotlin/uk/gov/justice/digital/hmpps/hmppsnonassociationsapi/utils/UserContextFilter.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.