Changeset 5920 for branches/WebApplication
- Timestamp:
- 04/01/11 01:52:25 (14 years ago)
- Location:
- branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost
- Files:
-
- 15 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Controllers/AccountController.cs
r4950 r5920 9 9 using System.Web.Security; 10 10 using HLWebPluginHost.Models; 11 using HLWebPluginHost.OKBQueryService; 12 using HLWebPluginHost.Helpers; 11 13 12 14 namespace HLWebPluginHost.Controllers { … … 36 38 public ActionResult LogOn(LogOnModel model, string returnUrl) { 37 39 if (ModelState.IsValid) { 38 if (MembershipService.ValidateUser(model.UserName, model.Password)) { 39 Session["pwd"] = model.Password; 40 QueryServiceClient client = Query.GetClientFactory(model.UserName, model.Password); 41 if (client != null) { 42 Session["Username"] = model.UserName; 43 Session["Password"] = model.Password; 40 44 FormsService.SignIn(model.UserName, model.RememberMe); 41 45 if (!String.IsNullOrEmpty(returnUrl)) { … … 59 63 public ActionResult LogOff() { 60 64 FormsService.SignOut(); 65 Session.Remove("Username"); 66 Session.Remove("Password"); 61 67 62 68 return RedirectToAction("Index", "Home"); -
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/HLWebPluginHost.csproj
r5764 r5920 73 73 <DependentUpon>Global.asax</DependentUpon> 74 74 </Compile> 75 <Compile Include="Helpers\Query.cs" /> 75 76 <Compile Include="Models\AccountModels.cs" /> 76 77 <Compile Include="PluginLib\AssemblyResourceProvider.cs" /> … … 80 81 <Compile Include="PluginLib\PluginViewEngine.cs" /> 81 82 <Compile Include="Properties\AssemblyInfo.cs" /> 83 <Compile Include="Service References\OKBQueryService\Reference.cs"> 84 <AutoGen>True</AutoGen> 85 <DesignTime>True</DesignTime> 86 <DependentUpon>Reference.svcmap</DependentUpon> 87 </Compile> 82 88 </ItemGroup> 83 89 <ItemGroup> … … 90 96 <Content Include="Global.asax" /> 91 97 <Content Include="Scripts\lbAlgorithmClassOnClick.js" /> 98 <None Include="Service References\OKBQueryService\HLWebPluginHost.OKBQueryService.Filter.datasource"> 99 <DependentUpon>Reference.svcmap</DependentUpon> 100 </None> 101 <None Include="Service References\OKBQueryService\HLWebPluginHost.OKBQueryService.Run.datasource"> 102 <DependentUpon>Reference.svcmap</DependentUpon> 103 </None> 104 <None Include="Service References\OKBQueryService\QueryService.disco" /> 105 <None Include="Service References\OKBQueryService\configuration91.svcinfo" /> 106 <None Include="Service References\OKBQueryService\configuration.svcinfo" /> 107 <None Include="Service References\OKBQueryService\Reference.svcmap"> 108 <Generator>WCF Proxy Generator</Generator> 109 <LastGenOutput>Reference.cs</LastGenOutput> 110 </None> 92 111 <Content Include="Views\ServicePrototype\Index.aspx" /> 93 112 <Content Include="Web.config"> … … 132 151 <WCFMetadata Include="Service References\" /> 133 152 </ItemGroup> 153 <ItemGroup> 154 <WCFMetadataStorage Include="Service References\OKBQueryService\" /> 155 </ItemGroup> 156 <ItemGroup> 157 <None Include="Service References\OKBQueryService\QueryService.wsdl" /> 158 <None Include="Service References\OKBQueryService\QueryService.xsd"> 159 <SubType>Designer</SubType> 160 </None> 161 <None Include="Service References\OKBQueryService\QueryService1.xsd"> 162 <SubType>Designer</SubType> 163 </None> 164 <None Include="Service References\OKBQueryService\QueryService2.xsd"> 165 <SubType>Designer</SubType> 166 </None> 167 <None Include="Service References\OKBQueryService\QueryService3.xsd"> 168 <SubType>Designer</SubType> 169 </None> 170 </ItemGroup> 134 171 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> 135 172 <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" /> -
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Views/Home/Index.aspx
r5072 r5920 8 8 <h1><%: ViewData["Message"] %></h1> 9 9 10 <h3>Password: <%: Session["pwd"] %></h3> 10 <h3>Username: <%: Session["Username"] %></h3> 11 <h3>Password: <%: Session["Password"] %></h3> 11 12 </asp:Content> -
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config
r5799 r5920 60 60 </pages> 61 61 62 < membership defaultProvider="HLServiceMembershipProvider">62 <!--<membership defaultProvider="HLServiceMembershipProvider"> 63 63 <providers> 64 64 <clear/> … … 69 69 applicationName="HeuristicLab.Authentication" /> 70 70 </providers> 71 </membership> 71 </membership>--> 72 72 <!-- 73 73 <roleManager enabled="true"> … … 116 116 </security> 117 117 </binding> 118 <binding name="QueryService" closeTimeout="00:01:00" openTimeout="00:01:00" 119 receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" 120 transactionFlow="false" hostNameComparisonMode="StrongWildcard" 121 maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text" 122 textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 123 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" 124 maxBytesPerRead="4096" maxNameTableCharCount="16384" /> 125 <reliableSession ordered="true" inactivityTimeout="00:10:00" 126 enabled="false" /> 127 <security mode="Message"> 128 <transport clientCredentialType="Windows" proxyCredentialType="None" 129 realm="" /> 130 <message clientCredentialType="UserName" negotiateServiceCredential="true" 131 algorithmSuite="Default" /> 132 </security> 133 </binding> 118 134 </wsHttpBinding> 119 135 </bindings> … … 126 142 </identity> 127 143 </endpoint> 144 <endpoint address="http://services.heuristiclab.com/OKB.SPR-3.3/QueryService.svc" 145 binding="wsHttpBinding" bindingConfiguration="QueryService" 146 contract="OKBQueryService.IQueryService" name="QueryService"> 147 <identity> 148 <certificate encodedValue="AwAAAAEAAAAUAAAAwK1+2oAmcy/mI2P2QjyiJRh0y60gAAAAAQAAACoCAAAwggImMIIBj6ADAgECAhAIkseQ2EEhgU720qJA61gqMA0GCSqGSIb3DQEBBAUAMCQxIjAgBgNVBAMTGXNlcnZpY2VzLmhldXJpc3RpY2xhYi5jb20wHhcNMTAwNTExMTExNDAyWhcNMzkxMjMxMjM1OTU5WjAkMSIwIAYDVQQDExlzZXJ2aWNlcy5oZXVyaXN0aWNsYWIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCq26Bwmwc7k+4W30qLQ2j+FInEL5BuH6opDY6CSlrtt3xQS/anrhvpbf3QghLDVINzcHkzbPmm/SguG4F85QLB6xO+tJaOvRo0iEK5g3c307vMIru7FJwk/OhplEQ5J1hbDgL3zOJlrWlgtqRVxCtVdF3XroI9BctOt1NkeKv9ewIDAQABo1kwVzBVBgNVHQEETjBMgBCjbgdYd4j5JgUuJ1Wo/GxroSYwJDEiMCAGA1UEAxMZc2VydmljZXMuaGV1cmlzdGljbGFiLmNvbYIQCJLHkNhBIYFO9tKiQOtYKjANBgkqhkiG9w0BAQQFAAOBgQAb/2xk2uQad68shSPl/uixWgvFI8WkxOTBopOLaLtDxwCeZ3mWVHdV9VnixHtThubnEBXAhYOCQSIXWtQuXFWO+gH3YyjTRJY5kTmXyuvBRTn3/so5SrQ7Rdlm9hf6E5YVX3tCjAy7ybUyaDUkQfmH5vmvgvpMzRfsJ1qhnUpJiQ==" /> 149 </identity> 150 </endpoint> 128 151 </client> 129 152 </system.serviceModel> -
branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/obj/Debug/HLWebPluginHost.csproj.FileListAbsolute.txt
r5763 r5920 9 9 D:\Proakt\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.dll 10 10 D:\Proakt\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.pdb 11 D:\FH\Sem06\SPR6T\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\bin\HLWebPluginHost.dll 12 D:\FH\Sem06\SPR6T\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\bin\HLWebPluginHost.pdb 13 D:\FH\Sem06\SPR6T\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\ResolveAssemblyReference.cache 14 D:\FH\Sem06\SPR6T\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.dll 15 D:\FH\Sem06\SPR6T\WebApplication\MVC2\HeuristicLabWeb.PluginHost\HLWebPluginHost\obj\Debug\HLWebPluginHost.pdb
Note: See TracChangeset
for help on using the changeset viewer.