Deprecate odl-restconf-noauth feature
[netconf.git] / restconf / restconf-nb-bierman02-noauth / src / main / java / org / opendaylight / restconf / nb / bierman02 / web / noauth / WebInitializer.java
1 /*
2  * Copyright (c) 2018 Inocybe Technologies and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.restconf.nb.bierman02.web.noauth;
9
10 import org.opendaylight.netconf.sal.restconf.web.Bierman02WebRegistrar;
11
12 /**
13  * Initializes the bierman-02 endpoint without authentication.
14  *
15  * @author Thomas Pantelis
16  * @deprecated Use bierman-02 endpoint with authentication instead.
17  */
18 @Deprecated
19 public class WebInitializer {
20     public WebInitializer(Bierman02WebRegistrar registrar) {
21         registrar.registerWithoutAuthentication();
22     }
23 }