Commits

Manjula Piyumal  committed 9d89f37

Fixing minor issues in samples

  • Participants
  • Parent commits eef225b
  • Branches 2.2

Comments (0)

Files changed (2)

File resources/samples/conf/ultra-sample-211.xml

 http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd
 http://www.adroitlogic.org/ultraesb http://schemas.ultraesb.org/ultraesb-2.0.xsd">
 
-    <bean id="ultra-config" class="org.adroitlogic.ultraesb.core.ConfigurationImpl"/>
+    <bean id="ultra-config" class="org.adroitlogic.ultraesb.core.ConfigurationImpl">
+        <property name="environment">
+            <bean class="org.adroitlogic.ultraesb.api.Environment">
+                <constructor-arg name="name" value="sample"/>
+            </bean>
+        </property>
+    </bean>
 
     <bean id="fileCache" class="org.adroitlogic.ultraesb.core.PooledMessageFileCache">
         <constructor-arg type="int" value="10"/>

File resources/samples/conf/ultra-sample-217.xml

 
     <!--Demonstrates the optional use of a URLAuthenticator to authenticate WADL URL, when accessing these
     over an external registry that requires authentication -->
-    <bean id="urlAuthenticator" class="org.adroitlogic.ultraesb.transport.http.URLAuthenticator">
+    <bean id="urlAuthenticator" class="org.adroitlogic.ultraesb.transport.http.auth.URLAuthenticator">
         <constructor-arg>
             <map>
                 <entry key="http://localhost:9000" value="asankha,adroitlogic"/>