Guard against multiple web registration attempts 88/73488/2
authorTom Pantelis <tompantelis@gmail.com>
Wed, 27 Jun 2018 16:35:57 +0000 (12:35 -0400)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 29 Jun 2018 02:26:54 +0000 (02:26 +0000)
commitb382d3002f0b84ffdcde61de1ebae76f54f72a25
tree573525884d000222c143210f608c2366a1b4f54f
parent45e2a83946baba314beb7a4d46de2227008d5516
Guard against multiple web registration attempts

If both restconf-auth and noath features are installed, both
try to register the web context and PAX web fails and renders
restconf unusable.

JIRA: CONTROLLER-1844

Change-Id: Ie488c792d849616efa806e82121883fe73fb9c6e
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
restconf/restconf-nb-bierman02/src/main/java/org/opendaylight/netconf/sal/restconf/web/Bierman02WebRegistrarImpl.java