Changeset 5700 for branches/WebApplication
- Timestamp:
- 03/15/11 20:56:57 (14 years ago)
- Location:
- branches/WebApplication
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Controllers/AlgorithmClassController.cs
r5258 r5700 7 7 using System.Web.Security; 8 8 using System.ServiceModel.Security; 9 using HLWebPluginHost.OKBService;9 //using HLWebPluginHost.OKBService; 10 10 using System.Diagnostics; 11 using HLWebOKBAdminPlugin.OKBAdministrationService; 12 using HLWebOKBAdminPlugin.OKBAuthenticationService; 11 13 12 14 namespace HLWebOKBAdminPlugin.Controllers … … 22 24 23 25 //returns a certificated service client for current user .... call this function in every method 24 private OKBService.OKBServiceClient CertificateValidator() { 25 OKBService.OKBServiceClient sc = new OKBService.OKBServiceClient(); 26 27 sc.ClientCredentials.UserName.UserName = Membership.GetUser().UserName; 28 sc.ClientCredentials.UserName.Password = HttpContext.Session["pwd"].ToString(); 29 sc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None; 30 31 return sc; 32 }//CertificateValidator 26 27 //private OKBService.OKBServiceClient CertificateValidator() { 28 // OKBService.OKBServiceClient sc = new OKBService.OKBServiceClient(); 29 // sc.ClientCredentials.UserName.UserName = Membership.GetUser().UserName; 30 // //sc.ClientCredentials.UserName.Password = HttpContext.Session["pwd"].ToString(); 31 // sc.ClientCredentials.UserName.Password = "Gerhard"; 32 // sc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None; 33 34 // return sc; 35 //}//CertificateValidator 36 37 private AdministrationServiceClient CertificateValidator() { 38 AdministrationServiceClient asc = new AdministrationServiceClient(); 39 40 asc.ClientCredentials.UserName.UserName = Membership.GetUser().UserName; 41 //asc.ClientCredentials.UserName.Password = HttpContext.Session["pwd"].ToString(); 42 asc.ClientCredentials.UserName.Password = "Gerhard"; 43 asc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None; 44 45 return asc; 46 }//CertificateValidator 33 47 34 48 // … … 42 56 43 57 //get certificated service client 44 OKBService.OKBServiceClient sc = CertificateValidator();58 AdministrationServiceClient asc = CertificateValidator(); 45 59 46 60 var tstModel = new AlgorithmClassViewModel { … … 52 66 //get list of Algorithm Classes 53 67 var algorithmClasses = new List<AlgorithmClass>(); 54 AlgorithmClass[] ac = sc.GetAlgorithmClasses();68 AlgorithmClass[] ac = asc.GetAlgorithmClasses(); 55 69 foreach (AlgorithmClass a in ac) { 56 70 algorithmClasses.Add(a); … … 70 84 71 85 //get certificated service client 72 OKBService.OKBServiceClientsc = CertificateValidator();86 AdministrationServiceClient asc = CertificateValidator(); 73 87 74 88 //the viewmodel contains data for the view 75 89 var viewModel = new AlgorithmClassViewModel { 76 AlgorithmClass = sc.GetAlgorithmClass(id)90 AlgorithmClass = asc.GetAlgorithmClass(id) 77 91 }; 78 92 … … 91 105 92 106 //get certificated service client 93 OKBService.OKBServiceClientsc = CertificateValidator();107 AdministrationServiceClient asc = CertificateValidator(); 94 108 95 109 //the viewmodel with empty AlgorithmClass object … … 113 127 try { 114 128 //get certificated service client 115 OKBService.OKBServiceClientsc = CertificateValidator();129 AdministrationServiceClient asc = CertificateValidator(); 116 130 117 131 //create new AlgorithmClass object 118 AlgorithmClass ac = new HLWebPluginHost.OKBService.AlgorithmClass();132 AlgorithmClass ac = new AlgorithmClass(); 119 133 ac.Id = algorithmClass.Id; 120 134 ac.Name = algorithmClass.Name; … … 122 136 123 137 //add new AlgorithmClass 124 sc.AddAlgorithmClass(ac);138 asc.AddAlgorithmClass(ac); 125 139 126 140 //redirect to the home page … … 148 162 149 163 //get certificated service client 150 OKBService.OKBServiceClientsc = CertificateValidator();164 AdministrationServiceClient asc = CertificateValidator(); 151 165 152 166 //the viewmodel contains data for the view 153 167 var viewModel = new AlgorithmClassViewModel { 154 AlgorithmClass = sc.GetAlgorithmClass(id)168 AlgorithmClass = asc.GetAlgorithmClass(id) 155 169 }; 156 170 … … 169 183 170 184 //get certificated service client 171 OKBService.OKBServiceClientsc = CertificateValidator();185 AdministrationServiceClient asc = CertificateValidator(); 172 186 173 187 //get AlgorithmClass object from DB 174 var algorithmClass = sc.GetAlgorithmClass(id);188 var algorithmClass = asc.GetAlgorithmClass(id); 175 189 176 190 try { … … 178 192 UpdateModel(algorithmClass, "AlgorithmClass"); 179 193 180 AlgorithmClass ac = new HLWebPluginHost.OKBService.AlgorithmClass();194 AlgorithmClass ac = new AlgorithmClass(); 181 195 ac.Id = algorithmClass.Id; 182 196 ac.Name = algorithmClass.Name; 183 197 ac.Description = algorithmClass.Description; 184 198 185 sc.UpdateAlgorithmClass(ac);199 asc.UpdateAlgorithmClass(ac); 186 200 187 201 return RedirectToAction("Index"); … … 207 221 208 222 //get certificated service client 209 OKBService.OKBServiceClientsc = CertificateValidator();223 AdministrationServiceClient asc = CertificateValidator(); 210 224 211 225 //the viewmodel contains data for the view 212 226 var viewModel = new AlgorithmClassViewModel { 213 AlgorithmClass = sc.GetAlgorithmClass(id)227 AlgorithmClass = asc.GetAlgorithmClass(id) 214 228 }; 215 229 … … 228 242 229 243 //get certificated service client 230 OKBService.OKBServiceClientsc = CertificateValidator();244 AdministrationServiceClient asc = CertificateValidator(); 231 245 232 246 //load object from db 233 var algorithmClass = sc.GetAlgorithmClass(id);247 var algorithmClass = asc.GetAlgorithmClass(id); 234 248 235 249 try { 236 250 //delete object 237 sc.DeleteAlgorithmClass(id);251 asc.DeleteAlgorithmClass(id); 238 252 239 253 return RedirectToAction("Index"); -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/HLWebOKBAdminPlugin.csproj
r5258 r5700 97 97 <Compile Include="Models\AlgorithmClassModel.cs" /> 98 98 <Compile Include="Properties\AssemblyInfo.cs" /> 99 <Compile Include="Service References\OKBService\Reference.cs"> 99 <Compile Include="Service References\OKBAdministrationService\Reference.cs"> 100 <AutoGen>True</AutoGen> 101 <DesignTime>True</DesignTime> 102 <DependentUpon>Reference.svcmap</DependentUpon> 103 </Compile> 104 <Compile Include="Service References\OKBAuthenticationService\Reference.cs"> 100 105 <AutoGen>True</AutoGen> 101 106 <DesignTime>True</DesignTime> … … 122 127 <EmbeddedResource Include="Resources\Plus.bmp" /> 123 128 <EmbeddedResource Include="Resources\Update.bmp" /> 124 <None Include="Service References\OKBService\configuration91.svcinfo" /> 125 <None Include="Service References\OKBService\configuration.svcinfo" /> 126 <None Include="Service References\OKBService\Reference.svcmap"> 129 <None Include="Service References\OKBAdministrationService\AdministrationService.wsdl" /> 130 <None Include="Service References\OKBAdministrationService\AdministrationService.xsd"> 131 <SubType>Designer</SubType> 132 </None> 133 <None Include="Service References\OKBAdministrationService\AdministrationService1.xsd"> 134 <SubType>Designer</SubType> 135 </None> 136 <None Include="Service References\OKBAdministrationService\AdministrationService2.xsd"> 137 <SubType>Designer</SubType> 138 </None> 139 <None Include="Service References\OKBAdministrationService\AdministrationService3.xsd"> 140 <SubType>Designer</SubType> 141 </None> 142 <None Include="Service References\OKBAdministrationService\HLWebOKBAdminPlugin.OKBAdministrationService.Algorithm.datasource"> 143 <DependentUpon>Reference.svcmap</DependentUpon> 144 </None> 145 <None Include="Service References\OKBAdministrationService\HLWebOKBAdminPlugin.OKBAdministrationService.AlgorithmClass.datasource"> 146 <DependentUpon>Reference.svcmap</DependentUpon> 147 </None> 148 <None Include="Service References\OKBAdministrationService\HLWebOKBAdminPlugin.OKBAdministrationService.Platform.datasource"> 149 <DependentUpon>Reference.svcmap</DependentUpon> 150 </None> 151 <None Include="Service References\OKBAdministrationService\HLWebOKBAdminPlugin.OKBAdministrationService.Problem.datasource"> 152 <DependentUpon>Reference.svcmap</DependentUpon> 153 </None> 154 <None Include="Service References\OKBAdministrationService\HLWebOKBAdminPlugin.OKBAdministrationService.ProblemClass.datasource"> 155 <DependentUpon>Reference.svcmap</DependentUpon> 156 </None> 157 <None Include="Service References\OKBAuthenticationService\AuthenticationService.disco" /> 158 <None Include="Service References\OKBAuthenticationService\configuration91.svcinfo" /> 159 <None Include="Service References\OKBAuthenticationService\configuration.svcinfo" /> 160 <None Include="Service References\OKBAuthenticationService\HLWebOKBAdminPlugin.OKBAuthenticationService.User.datasource"> 161 <DependentUpon>Reference.svcmap</DependentUpon> 162 </None> 163 <None Include="Service References\OKBAuthenticationService\Reference.svcmap"> 164 <Generator>WCF Proxy Generator</Generator> 165 <LastGenOutput>Reference.cs</LastGenOutput> 166 </None> 167 <None Include="Service References\OKBAdministrationService\AdministrationService.disco" /> 168 <None Include="Service References\OKBAdministrationService\configuration91.svcinfo" /> 169 <None Include="Service References\OKBAdministrationService\configuration.svcinfo" /> 170 <None Include="Service References\OKBAdministrationService\Reference.svcmap"> 127 171 <Generator>WCF Proxy Generator</Generator> 128 172 <LastGenOutput>Reference.cs</LastGenOutput> … … 158 202 <Content Include="Views\Shared\Site.Master" /> 159 203 <Content Include="Views\Web.config" /> 160 <None Include="Service References\OKBService\Arrays.xsd"> 161 <SubType>Designer</SubType> 162 </None> 163 <None Include="Service References\OKBService\HeuristicLab.Services.OKB.DataTransfer.xsd"> 164 <SubType>Designer</SubType> 165 </None> 166 <None Include="Service References\OKBService\service.wsdl" /> 167 <None Include="Service References\OKBService\service.xsd"> 168 <SubType>Designer</SubType> 169 </None> 170 <None Include="Service References\OKBService\service1.xsd"> 204 <None Include="Service References\OKBAuthenticationService\AuthenticationService.wsdl" /> 205 <None Include="Service References\OKBAuthenticationService\AuthenticationService.xsd"> 206 <SubType>Designer</SubType> 207 </None> 208 <None Include="Service References\OKBAuthenticationService\AuthenticationService1.xsd"> 209 <SubType>Designer</SubType> 210 </None> 211 <None Include="Service References\OKBAuthenticationService\AuthenticationService2.xsd"> 171 212 <SubType>Designer</SubType> 172 213 </None> … … 180 221 </ItemGroup> 181 222 <ItemGroup> 182 <WCFMetadataStorage Include="Service References\OKBService\" /> 223 <WCFMetadataStorage Include="Service References\OKBAdministrationService\" /> 224 <WCFMetadataStorage Include="Service References\OKBAuthenticationService\" /> 183 225 </ItemGroup> 184 226 <Choose> -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Models/AlgorithmClassModel.cs
r5005 r5700 5 5 using System.ServiceModel.Security; 6 6 using System.Web.Security; 7 using HLWebOKBAdminPlugin.OKBAdministrationService; 7 8 8 9 namespace HLWebPluginHost.Models { 9 10 public class AlgorithmClassModel { 10 11 12 private AdministrationServiceClient CertificateValidator() { 13 AdministrationServiceClient asc = new AdministrationServiceClient(); 14 15 asc.ClientCredentials.UserName.UserName = Membership.GetUser().UserName; 16 asc.ClientCredentials.UserName.Password = HttpContext.Current.Session["pwd"].ToString(); 17 asc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None; 18 19 return asc; 20 }//CertificateValidator 21 11 22 public int NumOfClasses { get; set; } 12 public List< OKBService.AlgorithmClass> AlgorithmClassList { get; set; }23 public List<AlgorithmClass> AlgorithmClassList { get; set; } 13 24 14 public List<OKBService.AlgorithmClass> AlgorithmClassGetAll() { 15 //returns list of algorithm classes 16 OKBService.OKBServiceClient sc = new OKBService.OKBServiceClient(); 17 sc.ClientCredentials.UserName.UserName = Membership.GetUser().UserName; 18 sc.ClientCredentials.UserName.Password = HttpContext.Current.Session["pwd"].ToString(); 19 sc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None; 25 public List<AlgorithmClass> AlgorithmClassGetAll() { 26 //returns list of algorithm classes 27 AdministrationServiceClient asc = CertificateValidator(); 20 28 21 var agcList = new List< OKBService.AlgorithmClass>();29 var agcList = new List<AlgorithmClass>(); 22 30 23 OKBService.AlgorithmClass[] ac =sc.GetAlgorithmClasses();24 foreach ( OKBService.AlgorithmClass a in ac) {31 AlgorithmClass[] ac = asc.GetAlgorithmClasses(); 32 foreach (AlgorithmClass a in ac) { 25 33 agcList.Add(a); 26 34 … … 34 42 long retValue; 35 43 //get service client 36 OKBService.OKBServiceClient sc = new OKBService.OKBServiceClient(); 37 sc.ClientCredentials.UserName.UserName = Membership.GetUser().UserName; 38 sc.ClientCredentials.UserName.Password = HttpContext.Current.Session["pwd"].ToString(); 39 sc.ClientCredentials.ServiceCertificate.Authentication.CertificateValidationMode = X509CertificateValidationMode.None; 44 AdministrationServiceClient asc = CertificateValidator(); 40 45 41 OKBService.AlgorithmClass ac = new OKBService.AlgorithmClass();46 AlgorithmClass ac = new AlgorithmClass(); 42 47 //test 43 48 //ac.Id = 8; 44 49 ac.Name = name; 45 50 ac.Description = description; 46 retValue = sc.AddAlgorithmClass(ac);51 retValue = asc.AddAlgorithmClass(ac); 47 52 48 53 return true; -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/ViewModels/AlgorithmClassViewModel.cs
r5186 r5700 3 3 using System.Linq; 4 4 using System.Web; 5 using HLWebOKBAdminPlugin.OKBAdministrationService; 5 6 6 7 namespace HLWebOKBAdminPlugin.ViewModels { … … 9 10 //in this case the view model contains only a list of AlgorithmClass 10 11 11 public HLWebPluginHost.OKBService.AlgorithmClass AlgorithmClass { get; set; }12 public AlgorithmClass AlgorithmClass { get; set; } 12 13 13 14 }//AlgorithmClassViewModel -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Web.config
r4985 r5700 93 93 </security> 94 94 </binding> 95 <binding name="WSHttpBinding_IOKBService1" closeTimeout="00:01:00" 95 <binding name="WSHttpBinding_IAuthenticationService" closeTimeout="00:01:00" 96 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" 97 bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" 98 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" 99 textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 100 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 101 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 102 <reliableSession ordered="true" inactivityTimeout="00:10:00" 103 enabled="false" /> 104 <security mode="Message"> 105 <transport clientCredentialType="Windows" proxyCredentialType="None" 106 realm="" /> 107 <message clientCredentialType="UserName" negotiateServiceCredential="true" 108 algorithmSuite="Default" /> 109 </security> 110 </binding> 111 <binding name="WSHttpBinding_IAdministrationService" closeTimeout="00:01:00" 96 112 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" 97 113 bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" … … 119 135 </identity> 120 136 </endpoint> 121 <endpoint address="http:// localhost:8732/Design_Time_Addresses/OKB-3.3/OKBService"122 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_I OKBService1"123 contract="OKB Service.IOKBService" name="WSHttpBinding_IOKBService1">137 <endpoint address="http://services.heuristiclab.com/OKB.SPR-3.3/AuthenticationService.svc" 138 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAuthenticationService" 139 contract="OKBAuthenticationService.IAuthenticationService" name="WSHttpBinding_IAuthenticationService"> 124 140 <identity> 125 <certificate encodedValue="AwAAAAEAAAAUAAAAIQrvmocYcMi5fmvHzIyVXAYioh8gAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhB/K4IUpf//oE5Y7z4eayB9MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDkyNTExNDY1N1oXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtTYRDoRxGMo6KzVypLUKzMv6NbGgabF1PpORsk59JyT/W3bw6DDVAmXkxKEYyunIRHTyQp1/o9Or1n/lAVe0DyQYYvRrlVWn16kYbBwBG/5op3urgUo456WTfMvpezvUpII+U6p5lM2nJlCwLSVplbzbWg0Q45l813+9mXqfyPQIDAQABo0kwRzBFBgNVHQEEPjA8gBC9NBW28XBwPiaJJgiOU6W9oRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghB/K4IUpf//oE5Y7z4eayB9MAkGBSsOAwIdBQADgYEAdSi0jtQ/54Lqz5lWKk9EzTVImUn6gppz8JQGjo0lPa4PrsLplk2jK8Z7esgMLr3VqQPIgb92/ekrDMRttMi9MDgrSWbOPKjINvyC4mMK2KgfgHAfUQM8kH223GReUUzwF99FG8HhzoqrUMIlmCvrf5EZ19FBPEygFNOew0jhiHY=" /> 141 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 142 </identity> 143 </endpoint> 144 <endpoint address="http://services.heuristiclab.com/OKB.SPR-3.3/AdministrationService.svc" 145 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAdministrationService" 146 contract="OKBAdministrationService.IAdministrationService" name="WSHttpBinding_IAdministrationService"> 147 <identity> 148 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 126 149 </identity> 127 150 </endpoint> -
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/obj/Plugin/HLWebOKBAdminPlugin.csproj.FileListAbsolute.txt
r5072 r5700 11 11 C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.dll 12 12 C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.pdb 13 D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebOKBAdminPlugin.dll 14 D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebOKBAdminPlugin.pdb 15 D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\ResolveAssemblyReference.cache 16 D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.dll 17 D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.pdb 18 D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebPluginHost.dll 19 D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebPluginHost.pdb -
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/HLWebPluginHost.csproj
r5072 r5700 81 81 <Compile Include="PluginLib\PluginViewEngine.cs" /> 82 82 <Compile Include="Properties\AssemblyInfo.cs" /> 83 <Compile Include="Service References\OKBAdministrationService\Reference.cs"> 84 <AutoGen>True</AutoGen> 85 <DesignTime>True</DesignTime> 86 <DependentUpon>Reference.svcmap</DependentUpon> 87 </Compile> 83 88 <Compile Include="Service References\OKBService\Reference.cs"> 84 89 <AutoGen>True</AutoGen> … … 95 100 <Content Include="Content\themes\hl\Site.css" /> 96 101 <Content Include="Global.asax" /> 102 <None Include="Service References\OKBAdministrationService\AdministrationService.wsdl" /> 103 <None Include="Service References\OKBAdministrationService\AdministrationService.xsd"> 104 <SubType>Designer</SubType> 105 </None> 106 <None Include="Service References\OKBAdministrationService\AdministrationService1.xsd"> 107 <SubType>Designer</SubType> 108 </None> 109 <None Include="Service References\OKBAdministrationService\AdministrationService2.xsd"> 110 <SubType>Designer</SubType> 111 </None> 112 <None Include="Service References\OKBAdministrationService\AdministrationService3.xsd"> 113 <SubType>Designer</SubType> 114 </None> 115 <None Include="Service References\OKBAdministrationService\HLWebPluginHost.OKBAdministrationService.Algorithm.datasource"> 116 <DependentUpon>Reference.svcmap</DependentUpon> 117 </None> 118 <None Include="Service References\OKBAdministrationService\HLWebPluginHost.OKBAdministrationService.AlgorithmClass.datasource"> 119 <DependentUpon>Reference.svcmap</DependentUpon> 120 </None> 121 <None Include="Service References\OKBAdministrationService\HLWebPluginHost.OKBAdministrationService.Platform.datasource"> 122 <DependentUpon>Reference.svcmap</DependentUpon> 123 </None> 124 <None Include="Service References\OKBAdministrationService\HLWebPluginHost.OKBAdministrationService.Problem.datasource"> 125 <DependentUpon>Reference.svcmap</DependentUpon> 126 </None> 127 <None Include="Service References\OKBAdministrationService\HLWebPluginHost.OKBAdministrationService.ProblemClass.datasource"> 128 <DependentUpon>Reference.svcmap</DependentUpon> 129 </None> 97 130 <None Include="Service References\OKBService\configuration91.svcinfo" /> 98 131 <None Include="Service References\OKBService\configuration.svcinfo" /> … … 141 174 </None> 142 175 <Content Include="Scripts\lbAlgorithmClassOnClick.js" /> 176 <None Include="Service References\OKBAdministrationService\AdministrationService.disco" /> 177 <None Include="Service References\OKBAdministrationService\configuration91.svcinfo" /> 178 <None Include="Service References\OKBAdministrationService\configuration.svcinfo" /> 179 <None Include="Service References\OKBAdministrationService\Reference.svcmap"> 180 <Generator>WCF Proxy Generator</Generator> 181 <LastGenOutput>Reference.cs</LastGenOutput> 182 </None> 143 183 <Content Include="Views\ServicePrototype\Index.aspx" /> 144 184 <Content Include="Web.config"> … … 184 224 </ItemGroup> 185 225 <ItemGroup> 226 <WCFMetadataStorage Include="Service References\OKBAdministrationService\" /> 186 227 <WCFMetadataStorage Include="Service References\OKBService\" /> 187 228 </ItemGroup> -
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config
r4786 r5700 64 64 <providers> 65 65 <clear/> 66 <add name="AspNetSqlMembershipProvider" 67 type="System.Web.Security.SqlMembershipProvider" 66 <add name="AspNetSqlMembershipProvider" 67 type="System.Web.Security.SqlMembershipProvider" 68 68 connectionStringName="HeuristicLab.Authentication" 69 enablePasswordRetrieval="true" 70 enablePasswordReset="true" 71 requiresQuestionAndAnswer="false" 69 enablePasswordRetrieval="true" 70 enablePasswordReset="true" 71 requiresQuestionAndAnswer="false" 72 72 requiresUniqueEmail="false" 73 maxInvalidPasswordAttempts="5" 74 minRequiredPasswordLength="6" 75 minRequiredNonalphanumericCharacters="0" 73 maxInvalidPasswordAttempts="5" 74 minRequiredPasswordLength="6" 75 minRequiredNonalphanumericCharacters="0" 76 76 passwordAttemptWindow="10" 77 77 passwordFormat="Clear" … … 124 124 </security> 125 125 </binding> 126 <binding name="WSHttpBinding_IAdministrationService" closeTimeout="00:01:00" 127 openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00" 128 bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" 129 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" 130 textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 131 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 132 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 133 <reliableSession ordered="true" inactivityTimeout="00:10:00" 134 enabled="false" /> 135 <security mode="Message"> 136 <transport clientCredentialType="Windows" proxyCredentialType="None" 137 realm="" /> 138 <message clientCredentialType="UserName" negotiateServiceCredential="true" 139 algorithmSuite="Default" /> 140 </security> 141 </binding> 126 142 </wsHttpBinding> 127 143 </bindings> … … 134 150 </identity> 135 151 </endpoint> 152 <endpoint address="http://services.heuristiclab.com/OKB.SPR-3.3/AdministrationService.svc" 153 binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IAdministrationService" 154 contract="OKBAdministrationService.IAdministrationService" name="WSHttpBinding_IAdministrationService"> 155 <identity> 156 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 157 </identity> 158 </endpoint> 136 159 </client> 137 160 </system.serviceModel>
Note: See TracChangeset
for help on using the changeset viewer.