mirror of
https://github.com/corda/corda.git
synced 2025-06-14 05:08:18 +00:00
* remove x500 name validation when loading config file (#1137)
* added x500 name validation in Network registration. * fix for github issue #1130
This commit is contained in:
@ -73,7 +73,7 @@ private fun Config.getSingleValue(path: String, type: KType): Any? {
|
||||
Path::class -> Paths.get(getString(path))
|
||||
URL::class -> URL(getString(path))
|
||||
Properties::class -> getConfig(path).toProperties()
|
||||
X500Name::class -> X500Name(getString(path)).apply(::validateX500Name)
|
||||
X500Name::class -> X500Name(getString(path))
|
||||
else -> if (typeClass.java.isEnum) {
|
||||
parseEnum(typeClass.java, getString(path))
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user