toggle menu
few
jvm
switch theme
search in API
web
/
web.security.config
/
WebSecurityConfig
/
corsConfigurationSourceProperties
cors
Configuration
Source
Properties
@
Bean
(
name
=
[
"webCorsConfigurationSourceProperties"
]
)
fun
corsConfigurationSourceProperties
(
@
Value
(
value
=
"${web.security.cors.path-patterns}"
)
pathPattern
:
String
,
@
Value
(
value
=
"${web.security.cors.origin-patterns}"
)
originPatterns
:
String
,
@
Value
(
value
=
"${web.security.cors.allowed-methods}"
)
allowedMethods
:
String
,
@
Value
(
value
=
"${web.security.cors.allowed-headers}"
)
allowedHeaders
:
String
,
@
Value
(
value
=
"${web.security.cors.exposed-headers}"
)
exposedHeaders
:
String
,
@
Value
(
value
=
"${web.security.cors.allow-credentials}"
)
allowCredentials
:
Boolean
,
@
Value
(
value
=
"${web.security.cors.max-age}"
)
maxAge
:
Long
)
:
CorsConfigurationSourceProperties