mirror of
https://github.com/corda/corda.git
synced 2025-06-18 15:18:16 +00:00
Updated docs and TODOs to be inline with recent changes to the doorman
This commit is contained in:
@ -217,10 +217,7 @@ class StateMachineManager(val serviceHub: ServiceHubInternal,
|
||||
when (sessionMessage) {
|
||||
is ExistingSessionMessage -> onExistingSessionMessage(sessionMessage)
|
||||
is SessionInit -> {
|
||||
// TODO SECURITY Look up the party with the full X.500 name instead of just the legal name which
|
||||
// isn't required to be unique
|
||||
// TODO For now have the doorman block signups with identical names, and names with characters that
|
||||
// are used in X.500 name textual serialisation
|
||||
// TODO Look up the party with the full X.500 name instead of just the legal name
|
||||
val otherParty = serviceHub.networkMapCache.getNodeByLegalName(message.peer.commonName)?.legalIdentity
|
||||
if (otherParty != null) {
|
||||
onSessionInit(sessionMessage, otherParty)
|
||||
|
Reference in New Issue
Block a user