Changeset 4337 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3
- Timestamp:
- 08/27/10 11:46:46 (14 years ago)
- Location:
- branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Authorization/AuthorizationManager.cs
r4333 r4337 14 14 private IContextFactory contextFactory = ServiceLocator.GetContextFactory(); 15 15 16 public void AuthorizeForJobs(params Guid[] jobId ) {17 if (!(Identity.IsAuthenticated && IsAuthorizedForJobs(jobId ))) {18 throw new SecurityException( );16 public void AuthorizeForJobs(params Guid[] jobIds) { 17 if (!(Identity.IsAuthenticated && IsAuthorizedForJobs(jobIds))) { 18 throw new SecurityException("User '" + Identity.Name + "' is not authorized to access job (Id: " + string.Join(", ", jobIds.Select(x => x.ToString()).ToArray()) + ")"); 19 19 } 20 20 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Facades/SlaveFacade.cs
r4333 r4337 94 94 public Response IsJobStillNeeded(Guid jobId) { 95 95 using (contextFactory.GetContext()) { 96 ServiceLocator.GetAuthorizationManager().AuthorizeForJobs(jobId);97 96 return slaveCommunicator.IsJobStillNeeded(jobId); 98 97 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/app.config
r4333 r4337 53 53 <binding name="TcpStreamedBinding" sendTimeout="00:10:00" transferMode="Streamed" 54 54 maxBufferPoolSize="104857600" maxBufferSize="104857600" 55 maxReceivedMessageSize="104857600" maxConnections="100" listenBacklog="100">55 maxReceivedMessageSize="104857600"> 56 56 <readerQuotas maxStringContentLength="104857600" maxArrayLength="104857600" /> 57 57 <security mode="TransportWithMessageCredential">
Note: See TracChangeset
for help on using the changeset viewer.