toggle menu
few
jvm
switch theme
search in API
security
/
security.config
/
SecurityConfig
Security
Config
@
Configuration
@
ComponentScan
(
basePackages
=
[
" security"
]
)
class
SecurityConfig
Members
Constructors
Security
Config
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
id
Encryptor
Link copied to clipboard
@
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