- Timestamp:
- 01/10/11 09:25:15 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/AuthorizationManager.cs
r5028 r5264 40 40 } 41 41 } 42 42 43 43 private bool IsAuthorizedForJobs(params Guid[] jobIds) { 44 44 return ServiceLocator.Instance.HiveDao.IsUserAuthorizedForJobs(UserId, jobIds); -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HeuristicLab.Services.Hive-3.4.csproj
r5095 r5264 12 12 <AssemblyName>HeuristicLab.Services.Hive-3.4</AssemblyName> 13 13 <ProjectTypeGuids>{3D9AD99F-2412-4246-B90B-4EAA41C64699};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> 14 <TargetFrameworkVersion>v 3.5</TargetFrameworkVersion>14 <TargetFrameworkVersion>v4.0</TargetFrameworkVersion> 15 15 <FileAlignment>512</FileAlignment> 16 <TargetFrameworkProfile /> 16 17 </PropertyGroup> 17 18 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 69 70 <Reference Include="System.Transactions" /> 70 71 <Reference Include="System.Web" /> 72 <Reference Include="System.Web.ApplicationServices" /> 71 73 <Reference Include="System.Windows.Forms" /> 72 74 <Reference Include="System.Xml.Linq" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/app.config
r5095 r5264 1 <?xml version="1.0" encoding="utf-8"?>1 <?xml version="1.0"?> 2 2 <configuration> 3 <system.diagnostics 3 <system.diagnostics/> 4 4 <connectionStrings> 5 5 <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/> … … 10 10 <providers> 11 11 <clear/> 12 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" 13 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" 14 maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" 15 applicationName="HeuristicLab.Authentication" /> 12 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication"/> 16 13 </providers> 17 14 </membership> … … 20 17 <providers> 21 18 <clear/> 22 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" 19 <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/> 23 20 </providers> 24 21 </roleManager> … … 27 24 <system.serviceModel> 28 25 <diagnostics> 29 <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" 26 <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/> 30 27 </diagnostics> 31 28 <bindings> 32 29 <wsHttpBinding> 33 <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" 34 sendTimeout="00:10:00" maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"> 35 <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" /> 30 <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"> 31 <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600"/> 36 32 <security mode="Message"> 37 33 <transport clientCredentialType="Certificate"/> 38 <message clientCredentialType="UserName" 34 <message clientCredentialType="UserName"/> 39 35 </security> 40 36 </binding> … … 44 40 <serviceBehaviors> 45 41 <behavior name="ServiceBehaviour_IHiveService"> 46 <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" 47 <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" 48 <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" 42 <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/> 43 <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/> 44 <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/> 49 45 <serviceCredentials> 50 <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" 51 <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" 46 <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/> 47 <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/> 52 48 </serviceCredentials> 53 <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" 54 <serviceThrottling maxConcurrentCalls="100" 49 <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/> 50 <serviceThrottling maxConcurrentCalls="100"/> 55 51 </behavior> 56 52 </serviceBehaviors> … … 58 54 <services> 59 55 <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService"> 60 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" 61 <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService" 56 <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/> 57 <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.Common.ServiceContracts.IHiveService"/> 62 58 <host> 63 59 <baseAddresses> 64 <add baseAddress="http://localhost:9000/Hive-3.4" 60 <add baseAddress="http://localhost:9000/Hive-3.4"/> 65 61 </baseAddresses> 66 62 </host> … … 70 66 </system.serviceModel> 71 67 72 < /configuration>68 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
Note: See TracChangeset
for help on using the changeset viewer.