Replacing Spring Security framework with Apache Tomcat Valve for Web Security (UI...
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / configuration / tomcat-server.xml
index 42199b774cd4e63e7255f4fe0fc645fe1ef6363c..4be075451e9c31f90260e6e39b7dc43008a47c1f 100644 (file)
@@ -48,7 +48,9 @@
       <Host name="localhost" appBase=""
             unpackWARs="false" autoDeploy="false"
             deployOnStartup="false" createDirs="false">
-
+        <Realm className="org.opendaylight.controller.security.ControllerCustomRealm" />
+           <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
+     
         <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
                        prefix="web_access_log_" suffix=".txt" resolveHosts="false"
                        rotatable="true" fileDateFormat="yyyy-MM"