File tree 1 file changed +4
-8
lines changed
src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/config
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -33,19 +33,15 @@ import org.springframework.context.annotation.Configuration
33
33
Server (url = " https://hmpps-integration-api-prod.apps.live.cloud-platform.service.justice.gov.uk" , description = " Production" ),
34
34
],
35
35
security = [
36
- SecurityRequirement (name = " mutual-tls" ),
37
- SecurityRequirement (name = " api-key" ),
36
+ SecurityRequirement (name = " dn" ),
38
37
],
39
38
)
40
39
@SecurityScheme(
41
- name = " mutual-tls" ,
42
- type = SecuritySchemeType .MUTUALTLS ,
43
- )
44
- @SecurityScheme(
45
- name = " api-key" ,
40
+ name = " dn" ,
46
41
type = SecuritySchemeType .APIKEY ,
47
42
`in ` = SecuritySchemeIn .HEADER ,
48
- paramName = " x-api-key" ,
43
+ paramName = " subject-distinguished-name" ,
44
+ description = " Example: O=test,CN=automated-test-client"
49
45
)
50
46
@Configuration
51
47
class OpenAPIConfig {
You can’t perform that action at this time.
0 commit comments