toggle menu
few
jvm
switch theme
search in API
security
/
security.config
/
SecurityConfig
/
idEncryptor
id
Encryptor
@
Bean
(
name
=
[
"securityIdEncryptor"
]
)
fun
idEncryptor
(
@
Value
(
value
=
"${security.encryption.algorithm}"
)
algorithm
:
String
,
@
Value
(
value
=
"${security.encryption.secretKey}"
)
secretKey
:
String
,
@
Value
(
value
=
"${security.encryption.transformation}"
)
transformation
:
String
,
@
Value
(
value
=
"${security.encryption.keySize}"
)
keySize
:
Int
,
@
Value
(
value
=
"${security.encryption.iv}"
)
iv
:
String
)
:
IdEncryptor