Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/11 20:56:57 (14 years ago)
Author:
wtollsch
Message:

#1433 adjusted HLWebOKBAdminPlugin to new Service (AdministrationService)

Location:
branches/WebApplication
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Controllers/AlgorithmClassController.cs

    r5258 r5700  
    77using System.Web.Security;
    88using System.ServiceModel.Security;
    9 using HLWebPluginHost.OKBService;
     9//using HLWebPluginHost.OKBService;
    1010using System.Diagnostics;
     11using HLWebOKBAdminPlugin.OKBAdministrationService;
     12using HLWebOKBAdminPlugin.OKBAuthenticationService;
    1113
    1214namespace HLWebOKBAdminPlugin.Controllers
     
    2224
    2325        //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
    3347
    3448        //
     
    4256
    4357            //get certificated service client
    44             OKBService.OKBServiceClient sc = CertificateValidator();
     58            AdministrationServiceClient asc = CertificateValidator();                       
    4559
    4660            var tstModel = new AlgorithmClassViewModel {
     
    5266            //get list of Algorithm Classes
    5367            var algorithmClasses = new List<AlgorithmClass>();
    54             AlgorithmClass[] ac = sc.GetAlgorithmClasses();
     68            AlgorithmClass[] ac = asc.GetAlgorithmClasses();
    5569            foreach (AlgorithmClass a in ac) {
    5670                algorithmClasses.Add(a);
     
    7084
    7185            //get certificated service client
    72             OKBService.OKBServiceClient sc = CertificateValidator();
     86            AdministrationServiceClient asc = CertificateValidator();
    7387
    7488            //the viewmodel contains data for the view
    7589            var viewModel = new AlgorithmClassViewModel {
    76                 AlgorithmClass = sc.GetAlgorithmClass(id)
     90                AlgorithmClass = asc.GetAlgorithmClass(id)
    7791            };
    7892
     
    91105
    92106            //get certificated service client
    93             OKBService.OKBServiceClient sc = CertificateValidator();
     107            AdministrationServiceClient asc = CertificateValidator();
    94108
    95109            //the viewmodel with empty AlgorithmClass object
     
    113127            try {
    114128                //get certificated service client
    115                 OKBService.OKBServiceClient sc = CertificateValidator();
     129                AdministrationServiceClient asc = CertificateValidator();
    116130
    117131                //create new AlgorithmClass object
    118                 AlgorithmClass ac = new HLWebPluginHost.OKBService.AlgorithmClass();
     132                AlgorithmClass ac = new AlgorithmClass();
    119133                ac.Id = algorithmClass.Id;
    120134                ac.Name = algorithmClass.Name;
     
    122136
    123137                //add new AlgorithmClass
    124                 sc.AddAlgorithmClass(ac);
     138                asc.AddAlgorithmClass(ac);
    125139
    126140                //redirect to the home page
     
    148162           
    149163            //get certificated service client
    150             OKBService.OKBServiceClient sc = CertificateValidator();
     164            AdministrationServiceClient asc = CertificateValidator();
    151165
    152166            //the viewmodel contains data for the view
    153167            var viewModel = new AlgorithmClassViewModel {
    154                 AlgorithmClass = sc.GetAlgorithmClass(id)
     168                AlgorithmClass = asc.GetAlgorithmClass(id)
    155169            };
    156170
     
    169183
    170184            //get certificated service client
    171             OKBService.OKBServiceClient sc = CertificateValidator();
     185            AdministrationServiceClient asc = CertificateValidator();
    172186
    173187            //get AlgorithmClass object from DB
    174             var algorithmClass = sc.GetAlgorithmClass(id);
     188            var algorithmClass = asc.GetAlgorithmClass(id);
    175189
    176190            try {
     
    178192                UpdateModel(algorithmClass, "AlgorithmClass");
    179193
    180                 AlgorithmClass ac = new HLWebPluginHost.OKBService.AlgorithmClass();
     194                AlgorithmClass ac = new AlgorithmClass();
    181195                ac.Id = algorithmClass.Id;
    182196                ac.Name = algorithmClass.Name;
    183197                ac.Description = algorithmClass.Description;
    184198
    185                 sc.UpdateAlgorithmClass(ac);
     199                asc.UpdateAlgorithmClass(ac);
    186200
    187201                return RedirectToAction("Index");
     
    207221
    208222            //get certificated service client
    209             OKBService.OKBServiceClient sc = CertificateValidator();
     223            AdministrationServiceClient asc = CertificateValidator();
    210224
    211225            //the viewmodel contains data for the view
    212226            var viewModel = new AlgorithmClassViewModel {
    213                 AlgorithmClass = sc.GetAlgorithmClass(id)
     227                AlgorithmClass = asc.GetAlgorithmClass(id)
    214228            };
    215229
     
    228242   
    229243            //get certificated service client
    230             OKBService.OKBServiceClient sc = CertificateValidator();
     244            AdministrationServiceClient asc = CertificateValidator();
    231245
    232246            //load object from db
    233             var algorithmClass = sc.GetAlgorithmClass(id);
     247            var algorithmClass = asc.GetAlgorithmClass(id);
    234248
    235249            try {
    236250                //delete object
    237                 sc.DeleteAlgorithmClass(id);
     251                asc.DeleteAlgorithmClass(id);
    238252
    239253                return RedirectToAction("Index");
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/HLWebOKBAdminPlugin.csproj

    r5258 r5700  
    9797    <Compile Include="Models\AlgorithmClassModel.cs" />
    9898    <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">
    100105      <AutoGen>True</AutoGen>
    101106      <DesignTime>True</DesignTime>
     
    122127    <EmbeddedResource Include="Resources\Plus.bmp" />
    123128    <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">
    127171      <Generator>WCF Proxy Generator</Generator>
    128172      <LastGenOutput>Reference.cs</LastGenOutput>
     
    158202    <Content Include="Views\Shared\Site.Master" />
    159203    <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">
    171212      <SubType>Designer</SubType>
    172213    </None>
     
    180221  </ItemGroup>
    181222  <ItemGroup>
    182     <WCFMetadataStorage Include="Service References\OKBService\" />
     223    <WCFMetadataStorage Include="Service References\OKBAdministrationService\" />
     224    <WCFMetadataStorage Include="Service References\OKBAuthenticationService\" />
    183225  </ItemGroup>
    184226  <Choose>
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Models/AlgorithmClassModel.cs

    r5005 r5700  
    55using System.ServiceModel.Security;
    66using System.Web.Security;
     7using HLWebOKBAdminPlugin.OKBAdministrationService;
    78
    89namespace HLWebPluginHost.Models {
    910    public class AlgorithmClassModel {
    1011
     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
    1122        public int NumOfClasses { get; set; }
    12         public List<OKBService.AlgorithmClass> AlgorithmClassList { get; set; }
     23        public List<AlgorithmClass> AlgorithmClassList { get; set; }
    1324
    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();
    2028
    21             var agcList = new List<OKBService.AlgorithmClass>();
     29            var agcList = new List<AlgorithmClass>();
    2230
    23             OKBService.AlgorithmClass[] ac = sc.GetAlgorithmClasses();
    24             foreach (OKBService.AlgorithmClass a in ac) {
     31            AlgorithmClass[] ac = asc.GetAlgorithmClasses();
     32            foreach (AlgorithmClass a in ac) {
    2533                agcList.Add(a);
    2634
     
    3442            long retValue;
    3543            //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();
    4045
    41             OKBService.AlgorithmClass ac = new OKBService.AlgorithmClass();
     46            AlgorithmClass ac = new AlgorithmClass();
    4247            //test
    4348            //ac.Id = 8;
    4449            ac.Name = name;
    4550            ac.Description = description;
    46             retValue = sc.AddAlgorithmClass(ac);
     51            retValue = asc.AddAlgorithmClass(ac);
    4752           
    4853            return true;
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/ViewModels/AlgorithmClassViewModel.cs

    r5186 r5700  
    33using System.Linq;
    44using System.Web;
     5using HLWebOKBAdminPlugin.OKBAdministrationService;
    56
    67namespace HLWebOKBAdminPlugin.ViewModels {
     
    910        //in this case the view model contains only a list of AlgorithmClass
    1011
    11         public HLWebPluginHost.OKBService.AlgorithmClass AlgorithmClass { get; set; }
     12        public AlgorithmClass AlgorithmClass { get; set; }
    1213
    1314    }//AlgorithmClassViewModel
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Web.config

    r4985 r5700  
    9393          </security>
    9494        </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"
    96112          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    97113          bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
     
    119135        </identity>
    120136      </endpoint>
    121       <endpoint address="http://localhost:8732/Design_Time_Addresses/OKB-3.3/OKBService"
    122         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IOKBService1"
    123         contract="OKBService.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">
    124140        <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==" />
    126149        </identity>
    127150      </endpoint>
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/obj/Plugin/HLWebOKBAdminPlugin.csproj.FileListAbsolute.txt

    r5072 r5700  
    1111C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.dll
    1212C:\Documents and Settings\vs6\My Documents\SPR5\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.pdb
     13D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebOKBAdminPlugin.dll
     14D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebOKBAdminPlugin.pdb
     15D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\ResolveAssemblyReference.cache
     16D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.dll
     17D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\obj\Plugin\HLWebOKBAdminPlugin.pdb
     18D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebPluginHost.dll
     19D:\Proakt\WebApplication\MVC2\HLWebOKBAdminPlugin\bin\HLWebPluginHost.pdb
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/HLWebPluginHost.csproj

    r5072 r5700  
    8181    <Compile Include="PluginLib\PluginViewEngine.cs" />
    8282    <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>
    8388    <Compile Include="Service References\OKBService\Reference.cs">
    8489      <AutoGen>True</AutoGen>
     
    95100    <Content Include="Content\themes\hl\Site.css" />
    96101    <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>
    97130    <None Include="Service References\OKBService\configuration91.svcinfo" />
    98131    <None Include="Service References\OKBService\configuration.svcinfo" />
     
    141174    </None>
    142175    <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>
    143183    <Content Include="Views\ServicePrototype\Index.aspx" />
    144184    <Content Include="Web.config">
     
    184224  </ItemGroup>
    185225  <ItemGroup>
     226    <WCFMetadataStorage Include="Service References\OKBAdministrationService\" />
    186227    <WCFMetadataStorage Include="Service References\OKBService\" />
    187228  </ItemGroup>
  • branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config

    r4786 r5700  
    6464            <providers>
    6565              <clear/>
    66               <add name="AspNetSqlMembershipProvider" 
    67                    type="System.Web.Security.SqlMembershipProvider" 
     66              <add name="AspNetSqlMembershipProvider"
     67                   type="System.Web.Security.SqlMembershipProvider"
    6868                   connectionStringName="HeuristicLab.Authentication"
    69                    enablePasswordRetrieval="true" 
    70                    enablePasswordReset="true" 
    71                    requiresQuestionAndAnswer="false" 
     69                   enablePasswordRetrieval="true"
     70                   enablePasswordReset="true"
     71                   requiresQuestionAndAnswer="false"
    7272                   requiresUniqueEmail="false"
    73                    maxInvalidPasswordAttempts="5" 
    74                    minRequiredPasswordLength="6" 
    75                    minRequiredNonalphanumericCharacters="0" 
     73                   maxInvalidPasswordAttempts="5"
     74                   minRequiredPasswordLength="6"
     75                   minRequiredNonalphanumericCharacters="0"
    7676                   passwordAttemptWindow="10"
    7777                   passwordFormat="Clear"
     
    124124          </security>
    125125        </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>
    126142      </wsHttpBinding>
    127143    </bindings>
     
    134150        </identity>
    135151      </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>
    136159    </client>
    137160  </system.serviceModel>
Note: See TracChangeset for help on using the changeset viewer.