diff --git a/Directory.Build.props b/Directory.Build.props
index a815f8b..c6f6ad8 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -4,6 +4,6 @@
-
+
diff --git a/src/cCoder.Security/IServiceCollectionExtensions.cs b/src/cCoder.Security/IServiceCollectionExtensions.cs
index 7339dbb..654bf5d 100644
--- a/src/cCoder.Security/IServiceCollectionExtensions.cs
+++ b/src/cCoder.Security/IServiceCollectionExtensions.cs
@@ -223,8 +223,7 @@ private static void AddFoundations(this IServiceCollection services)
private static void AddProcessings(this IServiceCollection services)
{
services.AddTransient();
- services.AddTransient();
- services.AddTransient();
+ services.AddTransient();
services.AddTransient();
services.AddTransient();
services.AddTransient();
@@ -318,4 +317,4 @@ private static void AddSecurityApiLayer(
model: modelBuilder.GetEdmModel());
});
}
-}
+}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.Validations.cs b/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.Validations.cs
index ce74df8..852c7ce 100644
--- a/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.Validations.cs
+++ b/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.Validations.cs
@@ -26,9 +26,6 @@ private static void ValidateCredentialsOnLogin(
string password) =>
Validate(inputs: [username, password]);
- private static void ValidateAuthenticationOnLogout() =>
- Validate(inputs: []);
-
private static void ValidatePasswordOnChange(
string username,
string oldPassword,
diff --git a/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.cs b/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.cs
index 5838f5b..d64d0e9 100644
--- a/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.cs
+++ b/src/cCoder.Security/Services/Aggregations/AuthenticationAggregationService.cs
@@ -49,8 +49,6 @@ public ValueTask LoginAsync(string username, string password) =>
public ValueTask LogoutAsync() =>
TryCatch(operation: async () =>
{
- ValidateAuthenticationOnLogout();
-
await LogoutCoreAsync();
});
diff --git a/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.Validations.cs b/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.Validations.cs
index 66d1170..13c7b96 100644
--- a/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.Validations.cs
+++ b/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.Validations.cs
@@ -2,7 +2,6 @@
// Copyright (c) Paul.Ward@ccoder.co.uk
// ---------------------------------------------------------------
-
namespace cCoder.Security.Services.Aggregations;
internal sealed partial class SSOAuthInfoAggregationService
@@ -15,6 +14,4 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateSSOAuthInfoOnGet() =>
- Validate(inputs: []);
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.cs b/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.cs
index 69697fb..46d6a47 100644
--- a/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.cs
+++ b/src/cCoder.Security/Services/Aggregations/SSOAuthInfoAggregationService.cs
@@ -21,8 +21,6 @@ internal sealed partial class SSOAuthInfoAggregationService(
public ValueTask GetSSOAuthInfoAsync() =>
TryCatch(operation: async () =>
{
- ValidateSSOAuthInfoOnGet();
-
string authHeaderValue = requestProcessingService.GetHeader(
key: "Authorization");
diff --git a/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.Validations.cs b/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.Validations.cs
index 2c251da..34fbe1a 100644
--- a/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.Validations.cs
+++ b/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.Validations.cs
@@ -16,9 +16,6 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateSSOUsersOnGet() =>
- Validate(inputs: []);
-
private static void ValidateSSOUserOnUpdate(
string username,
SSOUser updatedSSOUser) =>
diff --git a/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.cs b/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.cs
index 541eaa0..81a5345 100644
--- a/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.cs
+++ b/src/cCoder.Security/Services/Aggregations/SSOUserAggregationService.cs
@@ -17,8 +17,6 @@ internal sealed partial class SSOUserAggregationService(
public IQueryable GetAllSSOUsers() =>
TryCatch(operation: () =>
{
- ValidateSSOUsersOnGet();
-
return ssoUserProcessingService.GetAllSSOUsers();
});
diff --git a/src/cCoder.Security/Services/Aggregations/TenantAggregationService.Validations.cs b/src/cCoder.Security/Services/Aggregations/TenantAggregationService.Validations.cs
index c8896e3..f3f710e 100644
--- a/src/cCoder.Security/Services/Aggregations/TenantAggregationService.Validations.cs
+++ b/src/cCoder.Security/Services/Aggregations/TenantAggregationService.Validations.cs
@@ -16,9 +16,6 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateTenantsOnGet() =>
- Validate(inputs: []);
-
private static void ValidateTenantOnAdd(Tenant newTenant) =>
Validate(inputs: newTenant);
diff --git a/src/cCoder.Security/Services/Aggregations/TenantAggregationService.cs b/src/cCoder.Security/Services/Aggregations/TenantAggregationService.cs
index 1a6400e..e889277 100644
--- a/src/cCoder.Security/Services/Aggregations/TenantAggregationService.cs
+++ b/src/cCoder.Security/Services/Aggregations/TenantAggregationService.cs
@@ -22,8 +22,6 @@ internal sealed partial class TenantAggregationService(
public IQueryable GetAllTenants() =>
TryCatch(operation: () =>
{
- ValidateTenantsOnGet();
-
return GetAllTenantsCore();
});
diff --git a/src/cCoder.Security/Services/Foundations/AuthorizationService.Validations.cs b/src/cCoder.Security/Services/Foundations/AuthorizationService.Validations.cs
index 042b3e0..7340a9a 100644
--- a/src/cCoder.Security/Services/Foundations/AuthorizationService.Validations.cs
+++ b/src/cCoder.Security/Services/Foundations/AuthorizationService.Validations.cs
@@ -2,7 +2,6 @@
// Copyright (c) Paul.Ward@ccoder.co.uk
// ---------------------------------------------------------------
-
namespace cCoder.Security.Services.Foundations;
internal sealed partial class AuthorizationService
@@ -15,9 +14,6 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateAuthorizationContextOnGet() =>
- Validate(inputs: []);
-
private static void ValidatePrivilegeOnEnsure(
string privilege,
string tenantId) =>
diff --git a/src/cCoder.Security/Services/Foundations/AuthorizationService.cs b/src/cCoder.Security/Services/Foundations/AuthorizationService.cs
index 17e3e86..15e4925 100644
--- a/src/cCoder.Security/Services/Foundations/AuthorizationService.cs
+++ b/src/cCoder.Security/Services/Foundations/AuthorizationService.cs
@@ -15,8 +15,6 @@ internal sealed partial class AuthorizationService(
public AuthorizationContext GetAuthorizationContext() =>
TryCatch(operation: () =>
{
- ValidateAuthorizationContextOnGet();
-
return new AuthorizationContext
{
CurrentUser = authorizationBroker.GetCurrentUser(),
diff --git a/src/cCoder.Security/Services/Foundations/Interfaces/ISSOPrivilegeService.cs b/src/cCoder.Security/Services/Foundations/Interfaces/ISSOPrivilegeService.cs
index b295109..6d45808 100644
--- a/src/cCoder.Security/Services/Foundations/Interfaces/ISSOPrivilegeService.cs
+++ b/src/cCoder.Security/Services/Foundations/Interfaces/ISSOPrivilegeService.cs
@@ -2,11 +2,8 @@
// Copyright (c) Paul.Ward@ccoder.co.uk
// ---------------------------------------------------------------
-using cCoder.Security.Models.Entities;
+using cCoder.Security.Exposures;
namespace cCoder.Security.Services.Foundations.Interfaces;
-internal interface ISSOPrivilegeService
-{
- IQueryable GetAllSSOPrivileges();
-}
\ No newline at end of file
+internal interface ISSOPrivilegeService : ISSOPrivilegeManager { }
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.Validations.cs b/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.Validations.cs
index b8cf348..15a02d7 100644
--- a/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.Validations.cs
+++ b/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.Validations.cs
@@ -2,7 +2,6 @@
// Copyright (c) Paul.Ward@ccoder.co.uk
// ---------------------------------------------------------------
-
namespace cCoder.Security.Services.Foundations;
internal sealed partial class SSOPrivilegeService
@@ -15,6 +14,4 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidatePrivilegesOnGet() =>
- Validate(inputs: []);
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.cs b/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.cs
index 535e49c..cb72cab 100644
--- a/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.cs
+++ b/src/cCoder.Security/Services/Foundations/SSOPrivilegeService.cs
@@ -14,8 +14,6 @@ internal sealed partial class SSOPrivilegeService(ISSOPrivilegeBroker privBroker
public IQueryable GetAllSSOPrivileges() =>
TryCatch(operation: () =>
{
- ValidatePrivilegesOnGet();
-
return privBroker.SelectPrivileges();
});
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Foundations/SessionService.Validations.cs b/src/cCoder.Security/Services/Foundations/SessionService.Validations.cs
index bb09902..50c9a44 100644
--- a/src/cCoder.Security/Services/Foundations/SessionService.Validations.cs
+++ b/src/cCoder.Security/Services/Foundations/SessionService.Validations.cs
@@ -29,19 +29,12 @@ private static void ValidateSessionOnSet(string key, string value)
private static void ValidateStringOnGet(string key) =>
Validate(inputs: key);
- private static void ValidateUserOnGet() =>
- Validate(inputs: []);
-
private static void ValidateSSOUserOnSet(SSOUser user)
{
if (user is not null)
{
Validate(inputs: user);
}
- else
- {
- Validate(inputs: []);
- }
}
private static void ValidateSessionOnRemove(string key) =>
diff --git a/src/cCoder.Security/Services/Foundations/SessionService.cs b/src/cCoder.Security/Services/Foundations/SessionService.cs
index 7db4d54..3e15169 100644
--- a/src/cCoder.Security/Services/Foundations/SessionService.cs
+++ b/src/cCoder.Security/Services/Foundations/SessionService.cs
@@ -43,7 +43,6 @@ public string GetString(string key) =>
public SSOUser GetUser() =>
TryCatch(operation: () =>
{
- ValidateUserOnGet();
string userJson = sessionBroker.GetString(key: "ssoUser");
return !string.IsNullOrEmpty(value: userJson)
diff --git a/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.Validations.cs b/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.Validations.cs
index 21e88e4..444f1a7 100644
--- a/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.Validations.cs
+++ b/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.Validations.cs
@@ -16,9 +16,6 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateSSORolesOnGet() =>
- Validate(inputs: []);
-
private static void ValidateSSORoleOnAdd(SSORole newSSORole) =>
Validate(inputs: newSSORole);
diff --git a/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.cs b/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.cs
index 22c5772..263899c 100644
--- a/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.cs
+++ b/src/cCoder.Security/Services/Orchestrations/SSORoleOrchestrationService.cs
@@ -16,8 +16,6 @@ internal sealed partial class SSORoleOrchestrationService(
public IQueryable GetAllSSORoles() =>
TryCatch(operation: () =>
{
- ValidateSSORolesOnGet();
-
return roleProcessingService.GetAllSSORoles();
});
diff --git a/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.Validations.cs b/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.Validations.cs
index 4ea3e9c..8095399 100644
--- a/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.Validations.cs
+++ b/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.Validations.cs
@@ -16,9 +16,6 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateSSOUserRolesOnGet() =>
- Validate(inputs: []);
-
private static void ValidateSSOUserRoleOnAdd(
SSOUserRole newSSOUserRole) =>
Validate(inputs: newSSOUserRole);
diff --git a/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.cs b/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.cs
index b04bfab..3f793ec 100644
--- a/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.cs
+++ b/src/cCoder.Security/Services/Orchestrations/SSOUserRoleOrchestrationService.cs
@@ -16,8 +16,6 @@ internal sealed partial class SSOUserRoleOrchestrationService(
public IQueryable GetAllSSOUserRoles() =>
TryCatch(operation: () =>
{
- ValidateSSOUserRolesOnGet();
-
authorizationProcessingService.EnsureUserHasPrivilege(
privilege: "userrole_read");
diff --git a/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.Validations.cs
index 76d3f94..d3e1b1e 100644
--- a/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.Validations.cs
+++ b/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.Validations.cs
@@ -2,7 +2,6 @@
// Copyright (c) Paul.Ward@ccoder.co.uk
// ---------------------------------------------------------------
-
namespace cCoder.Security.Services.Processings;
internal sealed partial class AuthorizationProcessingService
@@ -15,9 +14,6 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateAuthorizationContextOnGet() =>
- Validate(inputs: []);
-
private static void ValidatePrivilegeOnEnsure(
string privilege,
string tenantId) =>
diff --git a/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.cs b/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.cs
index 073de67..1b924c9 100644
--- a/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.cs
+++ b/src/cCoder.Security/Services/Processings/AuthorizationProcessingService.cs
@@ -15,8 +15,6 @@ internal sealed partial class AuthorizationProcessingService(
public AuthorizationContext GetAuthorizationContext() =>
TryCatch(operation: () =>
{
- ValidateAuthorizationContextOnGet();
-
return authorizationService.GetAuthorizationContext();
});
diff --git a/src/cCoder.Security/Services/Processings/Interfaces/ISSOPrivilegeProcessingService.cs b/src/cCoder.Security/Services/Processings/Interfaces/ISSOPrivilegeProcessingService.cs
deleted file mode 100644
index c82e74e..0000000
--- a/src/cCoder.Security/Services/Processings/Interfaces/ISSOPrivilegeProcessingService.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// ---------------------------------------------------------------
-// Copyright (c) Paul.Ward@ccoder.co.uk
-// ---------------------------------------------------------------
-
-using cCoder.Security.Models.Entities;
-
-using cCoder.Security.Exposures;
-
-namespace cCoder.Security.Services.Processings.Interfaces;
-
-internal interface ISSOPrivilegeProcessingService : ISSOPrivilegeManager { }
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.Exceptions.cs b/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.Exceptions.cs
deleted file mode 100644
index a65276d..0000000
--- a/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.Exceptions.cs
+++ /dev/null
@@ -1,34 +0,0 @@
-// ---------------------------------------------------------------
-// Copyright (c) Paul.Ward@ccoder.co.uk
-// ---------------------------------------------------------------
-
-using cCoder.Security.Models.Exceptions;
-
-namespace cCoder.Security.Services.Processings;
-
-internal sealed partial class SSOPrivilegeProcessingService
-{
- private static T TryCatch(Func operation)
- {
- try
- {
- return operation();
- }
- catch (ArgumentException innerException)
- {
- throw new SecurityProcessingValidationException(innerException: innerException);
- }
- catch (SecurityValidationException innerException)
- {
- throw new SecurityProcessingValidationException(innerException: innerException);
- }
- catch (SecurityDependencyException innerException)
- {
- throw new SecurityProcessingDependencyException(innerException: innerException);
- }
- catch (Exception innerException)
- {
- throw new SecurityProcessingServiceException(innerException: innerException);
- }
- }
-}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.Validations.cs
deleted file mode 100644
index 8f377c1..0000000
--- a/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.Validations.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-// ---------------------------------------------------------------
-// Copyright (c) Paul.Ward@ccoder.co.uk
-// ---------------------------------------------------------------
-
-
-namespace cCoder.Security.Services.Processings;
-
-internal sealed partial class SSOPrivilegeProcessingService
-{
- private static void Validate(params object[] inputs)
- {
- if (inputs.Any(predicate: input => input is null))
- {
- throw new ArgumentNullException(nameof(inputs));
- }
- }
-
- private static void ValidateSSOPrivilegesOnGet() =>
- Validate(inputs: []);
-}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.cs b/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.cs
deleted file mode 100644
index c0a2b4c..0000000
--- a/src/cCoder.Security/Services/Processings/SSOPrivilegeProcessingService.cs
+++ /dev/null
@@ -1,21 +0,0 @@
-// ---------------------------------------------------------------
-// Copyright (c) Paul.Ward@ccoder.co.uk
-// ---------------------------------------------------------------
-
-using cCoder.Security.Models.Entities;
-using cCoder.Security.Services.Foundations.Interfaces;
-using cCoder.Security.Services.Processings.Interfaces;
-
-namespace cCoder.Security.Services.Processings;
-
-internal sealed partial class SSOPrivilegeProcessingService(ISSOPrivilegeService privService)
- : ISSOPrivilegeProcessingService
-{
- public IQueryable GetAllSSOPrivileges() =>
- TryCatch(operation: () =>
- {
- ValidateSSOPrivilegesOnGet();
-
- return privService.GetAllSSOPrivileges();
- });
-}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/SSOUserProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/SSOUserProcessingService.Validations.cs
index 53721e7..cf9cd0e 100644
--- a/src/cCoder.Security/Services/Processings/SSOUserProcessingService.Validations.cs
+++ b/src/cCoder.Security/Services/Processings/SSOUserProcessingService.Validations.cs
@@ -44,9 +44,6 @@ private static void ValidateSSOUsersOnGet(bool ignoreFilters) =>
private static void ValidateSSOUserOnUpdate(SSOUser updatedSSOUser) =>
Validate(inputs: updatedSSOUser);
- private static void ValidateSSOUserOnGetCurrent() =>
- Validate(inputs: []);
-
private static void ValidatePasswordInput(string password) =>
Validate(inputs: password);
diff --git a/src/cCoder.Security/Services/Processings/SSOUserProcessingService.cs b/src/cCoder.Security/Services/Processings/SSOUserProcessingService.cs
index e1ae499..609be7c 100644
--- a/src/cCoder.Security/Services/Processings/SSOUserProcessingService.cs
+++ b/src/cCoder.Security/Services/Processings/SSOUserProcessingService.cs
@@ -151,8 +151,6 @@ public ValueTask UpdateSSOUserAsync(SSOUser updatedSSOUser) =>
public SSOUser Me() =>
TryCatch(operation: () =>
{
- ValidateSSOUserOnGetCurrent();
-
return ssoUserService.Me();
});
diff --git a/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.Validations.cs
index ffad9e3..a40a36a 100644
--- a/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.Validations.cs
+++ b/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.Validations.cs
@@ -16,9 +16,6 @@ private static void Validate(params object[] inputs)
}
}
- private static void ValidateSSOUserRolesOnGet() =>
- Validate(inputs: []);
-
private static void ValidateSSOUserRoleOnAdd(SSOUserRole newSSOUserRole) =>
Validate(inputs: newSSOUserRole);
diff --git a/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.cs b/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.cs
index 1b3b699..f008fe7 100644
--- a/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.cs
+++ b/src/cCoder.Security/Services/Processings/SSOUserRoleProcessingService.cs
@@ -14,8 +14,6 @@ internal sealed partial class SSOUserRoleProcessingService(ISSOUserRoleService s
public IQueryable GetAllSSOUserRoles() =>
TryCatch(operation: () =>
{
- ValidateSSOUserRolesOnGet();
-
return ssoUserRoleService.GetAllSSOUserRoles();
});
diff --git a/src/cCoder.Security/Services/Processings/SessionProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/SessionProcessingService.Validations.cs
index 14530e9..4b8eb95 100644
--- a/src/cCoder.Security/Services/Processings/SessionProcessingService.Validations.cs
+++ b/src/cCoder.Security/Services/Processings/SessionProcessingService.Validations.cs
@@ -19,9 +19,6 @@ private static void Validate(params object[] inputs)
private static void ValidateStringOnGet(string key) =>
Validate(inputs: key);
- private static void ValidateUserOnGet() =>
- Validate(inputs: []);
-
private static void ValidateStringOnSet(string key, string value)
{
Validate(inputs: key);
@@ -38,15 +35,9 @@ private static void ValidateSSOUserOnSet(SSOUser user)
{
Validate(inputs: user);
}
- else
- {
- Validate(inputs: []);
- }
}
private static void ValidateSessionOnRemove(string key) =>
Validate(inputs: key);
- private static void ValidateSessionOnClear() =>
- Validate(inputs: []);
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/SessionProcessingService.cs b/src/cCoder.Security/Services/Processings/SessionProcessingService.cs
index 490a680..33606d0 100644
--- a/src/cCoder.Security/Services/Processings/SessionProcessingService.cs
+++ b/src/cCoder.Security/Services/Processings/SessionProcessingService.cs
@@ -22,8 +22,6 @@ public string GetString(string key) =>
public SSOUser GetUser() =>
TryCatch(operation: () =>
{
- ValidateUserOnGet();
-
return sessionService.GetUser();
});
@@ -57,7 +55,6 @@ public void Remove(string key) =>
public void Clear() =>
TryCatch(operation: () =>
{
- ValidateSessionOnClear();
sessionService.Clear();
});
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.Validations.cs
index e57a5b6..d742421 100644
--- a/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.Validations.cs
+++ b/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.Validations.cs
@@ -22,9 +22,6 @@ private static void ValidateTenantAnalysisOnAdd(TenantAnalysis newTenantAnalysis
private static void ValidateTenantAnalysisOnDelete(TenantAnalysis deletedTenantAnalysis) =>
Validate(inputs: deletedTenantAnalysis);
- private static void ValidateTenantAnalysisOnGet() =>
- Validate(inputs: []);
-
private static void ValidateTenantAnalysisOnUpdate(TenantAnalysis updatedTenantAnalysis) =>
Validate(inputs: updatedTenantAnalysis);
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.cs b/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.cs
index 1220f54..96683bd 100644
--- a/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.cs
+++ b/src/cCoder.Security/Services/Processings/TenantAnalysisProcessingService.cs
@@ -32,8 +32,6 @@ await tenantAnalysisService.DeleteTenantAnalysisAsync(
public IQueryable GetAllTenantAnalysis() =>
TryCatch(operation: () =>
{
- ValidateTenantAnalysisOnGet();
-
return tenantAnalysisService.GetAllTenantAnalysis();
});
diff --git a/src/cCoder.Security/Services/Processings/TenantProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/TenantProcessingService.Validations.cs
index eb870dd..6eedc54 100644
--- a/src/cCoder.Security/Services/Processings/TenantProcessingService.Validations.cs
+++ b/src/cCoder.Security/Services/Processings/TenantProcessingService.Validations.cs
@@ -22,9 +22,6 @@ private static void ValidateTenantOnAdd(Tenant newTenant) =>
private static void ValidateTenantOnDelete(Tenant deletedTenant) =>
Validate(inputs: deletedTenant);
- private static void ValidateTenantsOnGet() =>
- Validate(inputs: []);
-
private static void ValidateTenantOnUpdate(Tenant updatedTenant) =>
Validate(inputs: updatedTenant);
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/TenantProcessingService.cs b/src/cCoder.Security/Services/Processings/TenantProcessingService.cs
index 8ad4dc5..91ba835 100644
--- a/src/cCoder.Security/Services/Processings/TenantProcessingService.cs
+++ b/src/cCoder.Security/Services/Processings/TenantProcessingService.cs
@@ -30,8 +30,6 @@ public ValueTask DeleteTenantAsync(Tenant deletedTenant) =>
public IQueryable GetAllTenants() =>
TryCatch(operation: () =>
{
- ValidateTenantsOnGet();
-
return tenantService.GetAllTenants();
});
diff --git a/src/cCoder.Security/Services/Processings/UserEventProcessingService.Validations.cs b/src/cCoder.Security/Services/Processings/UserEventProcessingService.Validations.cs
index 3f68cfc..b62cb5f 100644
--- a/src/cCoder.Security/Services/Processings/UserEventProcessingService.Validations.cs
+++ b/src/cCoder.Security/Services/Processings/UserEventProcessingService.Validations.cs
@@ -22,6 +22,4 @@ private static void ValidateUserEventOnAdd(UserEvent newUserEvent) =>
private static void ValidateUserEventOnDelete(UserEvent deletedUserEvent) =>
Validate(inputs: deletedUserEvent);
- private static void ValidateUserEventsOnGet() =>
- Validate(inputs: []);
}
\ No newline at end of file
diff --git a/src/cCoder.Security/Services/Processings/UserEventProcessingService.cs b/src/cCoder.Security/Services/Processings/UserEventProcessingService.cs
index c23ed11..b777271 100644
--- a/src/cCoder.Security/Services/Processings/UserEventProcessingService.cs
+++ b/src/cCoder.Security/Services/Processings/UserEventProcessingService.cs
@@ -30,8 +30,6 @@ public ValueTask DeleteUserEventAsync(UserEvent deletedUserEvent) =>
public IQueryable GetAllUserEvents() =>
TryCatch(operation: () =>
{
- ValidateUserEventsOnGet();
-
return userEventService.GetAllUserEvents();
});
}
\ No newline at end of file
diff --git a/src/cCoder.Security/cCoder.Security.csproj b/src/cCoder.Security/cCoder.Security.csproj
index d41a929..6e20c5f 100644
--- a/src/cCoder.Security/cCoder.Security.csproj
+++ b/src/cCoder.Security/cCoder.Security.csproj
@@ -30,7 +30,7 @@
-
+
diff --git a/src/cCoder.Security/project.stxjson b/src/cCoder.Security/project.stxjson
index c96e8eb..48b7fc4 100644
--- a/src/cCoder.Security/project.stxjson
+++ b/src/cCoder.Security/project.stxjson
@@ -3761,7 +3761,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -3770,7 +3771,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -3824,7 +3826,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -3833,7 +3836,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -3915,7 +3919,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -3924,7 +3929,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -3933,7 +3939,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4010,7 +4017,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 401,
@@ -4019,7 +4027,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4100,7 +4109,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 200,
@@ -4109,7 +4119,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 200,
@@ -4118,7 +4129,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 200,
@@ -4127,7 +4139,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4136,7 +4149,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4227,7 +4241,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4236,7 +4251,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4245,7 +4261,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4306,7 +4323,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4315,7 +4333,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4376,7 +4395,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4385,7 +4405,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4446,7 +4467,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4455,7 +4477,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4515,7 +4538,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4524,7 +4548,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4577,16 +4602,12 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingValidationException",
"cCoder.Security.Models.Exceptions.SecurityServiceException",
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
+ "cCoder.Security.Models.Exceptions.SecurityServiceException"
],
"ThrowsExceptionTypes": [],
"HttpMethods": [
@@ -4600,7 +4621,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4609,7 +4631,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4655,16 +4678,12 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingValidationException",
"cCoder.Security.Models.Exceptions.SecurityServiceException",
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
+ "cCoder.Security.Models.Exceptions.SecurityServiceException"
],
"ThrowsExceptionTypes": [],
"HttpMethods": [
@@ -4678,7 +4697,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4687,7 +4707,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -4696,7 +4717,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4790,7 +4812,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4799,7 +4822,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4808,7 +4832,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -4817,7 +4842,8 @@
"IsExceptionPath": false,
"IsNullPath": true,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4875,7 +4901,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4884,7 +4911,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -4956,7 +4984,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -4965,7 +4994,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -4974,7 +5004,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5033,7 +5064,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5042,7 +5074,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5105,7 +5138,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5114,7 +5148,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5123,7 +5158,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5221,7 +5257,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5230,7 +5267,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -5239,7 +5277,8 @@
"IsExceptionPath": false,
"IsNullPath": true,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5297,7 +5336,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5306,7 +5346,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5378,7 +5419,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5387,7 +5429,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -5396,7 +5439,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5461,7 +5505,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5470,7 +5515,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5479,7 +5525,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5577,7 +5624,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5586,7 +5634,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5595,7 +5644,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -5604,7 +5654,8 @@
"IsExceptionPath": false,
"IsNullPath": true,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5662,7 +5713,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5671,7 +5723,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5730,7 +5783,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5739,7 +5793,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5822,7 +5877,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5831,7 +5887,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5840,7 +5897,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5888,7 +5946,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -5911,7 +5968,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5920,7 +5978,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -5966,7 +6025,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -5989,7 +6047,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -5998,7 +6057,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -6007,7 +6067,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -6101,7 +6162,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6110,7 +6172,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6119,7 +6182,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -6128,7 +6192,8 @@
"IsExceptionPath": false,
"IsNullPath": true,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -6186,7 +6251,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6195,7 +6261,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -6267,7 +6334,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6276,7 +6344,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -6285,7 +6354,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -6345,7 +6415,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6354,7 +6425,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -6417,7 +6489,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6426,7 +6499,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6435,7 +6509,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -6488,7 +6563,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -6511,7 +6585,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6520,7 +6595,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -6566,7 +6642,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -6589,7 +6664,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 400,
@@ -6598,7 +6674,8 @@
"IsExceptionPath": true,
"IsNullPath": false,
"HasBody": true,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
},
{
"StatusCode": 404,
@@ -6607,7 +6684,8 @@
"IsExceptionPath": false,
"IsNullPath": false,
"HasBody": false,
- "ExposesExceptionDetails": false
+ "ExposesExceptionDetails": false,
+ "LogsException": false
}
],
"IsHttpRequestHandler": true,
@@ -7510,7 +7588,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.AuthenticationAggregationService.ChangePasswordAsync(System.String,System.String,System.String)",
"Name": "ChangePasswordAsync",
- "LineNumber": 57,
+ "LineNumber": 55,
"Inputs": [
{
"Name": "username",
@@ -7567,7 +7645,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.AuthenticationAggregationService.ConfirmForgotPasswordAsync(System.String,System.String,System.String,System.String)",
"Name": "ConfirmForgotPasswordAsync",
- "LineNumber": 82,
+ "LineNumber": 80,
"Inputs": [
{
"Name": "tokenId",
@@ -7627,7 +7705,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.AuthenticationAggregationService.ForgotPasswordAsync(System.String)",
"Name": "ForgotPasswordAsync",
- "LineNumber": 74,
+ "LineNumber": 72,
"Inputs": [
{
"Name": "email",
@@ -7812,7 +7890,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityAggregationServiceException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
],
@@ -8296,7 +8373,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityAggregationServiceException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
],
@@ -8338,7 +8414,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.SSOUserAggregationService.DeleteSSOUserAsync(cCoder.Security.Models.Entities.SSOUser)",
"Name": "DeleteSSOUserAsync",
- "LineNumber": 54,
+ "LineNumber": 52,
"Inputs": [
{
"Name": "deletedSSOUser",
@@ -8419,7 +8495,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityAggregationServiceException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
],
@@ -8438,7 +8513,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.SSOUserAggregationService.UpdateSSOUserAsync(System.String,cCoder.Security.Models.Entities.SSOUser)",
"Name": "UpdateSSOUserAsync",
- "LineNumber": 25,
+ "LineNumber": 23,
"Inputs": [
{
"Name": "username",
@@ -8549,7 +8624,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.TenantAggregationService.AddTenantAsync(cCoder.Security.Models.Entities.Tenant)",
"Name": "AddTenantAsync",
- "LineNumber": 30,
+ "LineNumber": 28,
"Inputs": [
{
"Name": "newTenant",
@@ -8596,7 +8671,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.TenantAggregationService.DeleteTenantAsync(cCoder.Security.Models.Entities.Tenant)",
"Name": "DeleteTenantAsync",
- "LineNumber": 38,
+ "LineNumber": 36,
"Inputs": [
{
"Name": "deletedTenant",
@@ -8661,7 +8736,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityAggregationServiceException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
],
@@ -8680,7 +8754,7 @@
{
"Id": "cCoder.Security.Services.Aggregations.TenantAggregationService.UpdateTenantAsync(cCoder.Security.Models.Entities.Tenant)",
"Name": "UpdateTenantAsync",
- "LineNumber": 46,
+ "LineNumber": 44,
"Inputs": [
{
"Name": "updatedTenant",
@@ -8748,7 +8822,7 @@
{
"Id": "cCoder.Security.Services.Foundations.AuthorizationService.EnsureUserCanReadApiMetadata()",
"Name": "EnsureUserCanReadApiMetadata",
- "LineNumber": 27,
+ "LineNumber": 25,
"Inputs": [],
"ReturnType": "System.Void",
"Implements": [
@@ -8788,7 +8862,7 @@
{
"Id": "cCoder.Security.Services.Foundations.AuthorizationService.EnsureUserHasPrivilege(System.String,System.String)",
"Name": "EnsureUserHasPrivilege",
- "LineNumber": 41,
+ "LineNumber": 39,
"Inputs": [
{
"Name": "privilege",
@@ -8837,7 +8911,7 @@
{
"Id": "cCoder.Security.Services.Foundations.AuthorizationService.EnsureUserIsPortalAdminWithPrivilege(System.String)",
"Name": "EnsureUserIsPortalAdminWithPrivilege",
- "LineNumber": 51,
+ "LineNumber": 49,
"Inputs": [
{
"Name": "privilege",
@@ -8905,13 +8979,11 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityServiceException",
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
"ThrowsExceptionTypes": [
@@ -9337,7 +9409,7 @@
"Inputs": [],
"ReturnType": "System.Linq.IQueryable\u003CcCoder.Security.Models.Entities.SSOPrivilege\u003E",
"Implements": [
- "cCoder.Security.Services.Foundations.Interfaces.ISSOPrivilegeService.GetAllSSOPrivileges()"
+ "cCoder.Security.Exposures.ISSOPrivilegeManager.GetAllSSOPrivileges()"
],
"Calls": [
{
@@ -9349,13 +9421,11 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityServiceException",
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
"ThrowsExceptionTypes": [
@@ -10155,13 +10225,11 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityServiceException",
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
"ThrowsExceptionTypes": [
@@ -10179,7 +10247,7 @@
{
"Id": "cCoder.Security.Services.Foundations.SessionService.RemoveKey(System.String)",
"Name": "RemoveKey",
- "LineNumber": 70,
+ "LineNumber": 69,
"Inputs": [
{
"Name": "key",
@@ -10224,7 +10292,7 @@
{
"Id": "cCoder.Security.Services.Foundations.SessionService.SetSSOUser(cCoder.Security.Models.Entities.SSOUser)",
"Name": "SetSSOUser",
- "LineNumber": 54,
+ "LineNumber": 53,
"Inputs": [
{
"Name": "user",
@@ -11213,7 +11281,7 @@
{
"Id": "cCoder.Security.Services.Orchestrations.SSORoleOrchestrationService.AddSSORoleAsync(cCoder.Security.Models.Entities.SSORole)",
"Name": "AddSSORoleAsync",
- "LineNumber": 24,
+ "LineNumber": 22,
"Inputs": [
{
"Name": "newSSORole",
@@ -11287,7 +11355,7 @@
{
"Id": "cCoder.Security.Services.Orchestrations.SSORoleOrchestrationService.DeleteSSORoleAsync(cCoder.Security.Models.Entities.SSORole)",
"Name": "DeleteSSORoleAsync",
- "LineNumber": 55,
+ "LineNumber": 53,
"Inputs": [
{
"Name": "deletedSSORole",
@@ -11375,7 +11443,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityOrchestrationServiceException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
],
@@ -11394,7 +11461,7 @@
{
"Id": "cCoder.Security.Services.Orchestrations.SSORoleOrchestrationService.UpdateSSORoleAsync(cCoder.Security.Models.Entities.SSORole)",
"Name": "UpdateSSORoleAsync",
- "LineNumber": 42,
+ "LineNumber": 40,
"Inputs": [
{
"Name": "updatedSSORole",
@@ -11477,7 +11544,7 @@
{
"Id": "cCoder.Security.Services.Orchestrations.SSOUserRoleOrchestrationService.AddSSOUserRoleAsync(cCoder.Security.Models.Entities.SSOUserRole)",
"Name": "AddSSOUserRoleAsync",
- "LineNumber": 27,
+ "LineNumber": 25,
"Inputs": [
{
"Name": "newSSOUserRole",
@@ -11551,7 +11618,7 @@
{
"Id": "cCoder.Security.Services.Orchestrations.SSOUserRoleOrchestrationService.DeleteSSOUserRoleAsync(cCoder.Security.Models.Entities.SSOUserRole)",
"Name": "DeleteSSOUserRoleAsync",
- "LineNumber": 46,
+ "LineNumber": 44,
"Inputs": [
{
"Name": "deletedSSOUserRole",
@@ -11646,7 +11713,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityOrchestrationServiceException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
],
@@ -11760,7 +11826,7 @@
{
"Id": "cCoder.Security.Services.Processings.AuthorizationProcessingService.EnsureUserHasPrivilege(System.String,System.String)",
"Name": "EnsureUserHasPrivilege",
- "LineNumber": 23,
+ "LineNumber": 21,
"Inputs": [
{
"Name": "privilege",
@@ -11813,7 +11879,7 @@
{
"Id": "cCoder.Security.Services.Processings.AuthorizationProcessingService.EnsureUserIsPortalAdminWithPrivilege(System.String)",
"Name": "EnsureUserIsPortalAdminWithPrivilege",
- "LineNumber": 33,
+ "LineNumber": 31,
"Inputs": [
{
"Name": "privilege",
@@ -11878,7 +11944,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -11887,7 +11952,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -12049,73 +12113,6 @@
}
]
},
- {
- "Name": "cCoder.Security.Services.Processings.SSOPrivilegeProcessingService",
- "StandardElementType": "ProcessingService",
- "LineNumber": 11,
- "IsPublic": false,
- "Kind": "Class",
- "BaseType": null,
- "Interfaces": [
- {
- "Id": "cCoder.Security:cCoder.Security.Services.Processings.Interfaces.ISSOPrivilegeProcessingService",
- "FullName": "cCoder.Security.Services.Processings.Interfaces.ISSOPrivilegeProcessingService",
- "Name": "ISSOPrivilegeProcessingService",
- "Namespace": "cCoder.Security.Services.Processings.Interfaces",
- "AssemblyName": "cCoder.Security",
- "Kind": "Interface",
- "IsInCurrentProject": true,
- "StandardElementType": "ProcessingService"
- }
- ],
- "Properties": [],
- "Methods": [
- {
- "Id": "cCoder.Security.Services.Processings.SSOPrivilegeProcessingService.GetAllSSOPrivileges()",
- "Name": "GetAllSSOPrivileges",
- "LineNumber": 14,
- "Inputs": [],
- "ReturnType": "System.Linq.IQueryable\u003CcCoder.Security.Models.Entities.SSOPrivilege\u003E",
- "Implements": [
- "cCoder.Security.Exposures.ISSOPrivilegeManager.GetAllSSOPrivileges()"
- ],
- "Calls": [
- {
- "TypeName": "cCoder.Security.Services.Foundations.Interfaces.ISSOPrivilegeService",
- "MethodName": "GetAllSSOPrivileges",
- "MethodId": "cCoder.Security.Services.Foundations.Interfaces.ISSOPrivilegeService.GetAllSSOPrivileges()",
- "StandardElementType": "FoundationService",
- "IsDependencyBoundary": false
- }
- ],
- "PossibleExceptionTypes": [
- "System.ArgumentNullException",
- "cCoder.Security.Models.Exceptions.SecurityDependencyException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingValidationException",
- "cCoder.Security.Models.Exceptions.SecurityServiceException",
- "cCoder.Security.Models.Exceptions.SecurityValidationException"
- ],
- "IncomingExceptionTypes": [
- "System.ArgumentNullException",
- "cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
- "cCoder.Security.Models.Exceptions.SecurityServiceException"
- ],
- "ThrowsExceptionTypes": [
- "cCoder.Security.Models.Exceptions.SecurityProcessingServiceException"
- ],
- "HttpMethods": [],
- "HttpResponses": [],
- "IsHttpRequestHandler": false,
- "IsODataControllerAction": false,
- "HasFromBodyParameter": false,
- "HasKeyParameter": false,
- "HandlesNullWithNotFound": false,
- "HasTryCatch": false
- }
- ]
- },
{
"Name": "cCoder.Security.Services.Processings.SSORoleProcessingService",
"StandardElementType": "ProcessingService",
@@ -12692,7 +12689,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -12701,7 +12697,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -12823,7 +12818,7 @@
{
"Id": "cCoder.Security.Services.Processings.SSOUserProcessingService.ValidatePassword(System.String)",
"Name": "ValidatePassword",
- "LineNumber": 159,
+ "LineNumber": 157,
"Inputs": [
{
"Name": "password",
@@ -12885,7 +12880,7 @@
{
"Id": "cCoder.Security.Services.Processings.SSOUserRoleProcessingService.AddSSOUserRoleAsync(cCoder.Security.Models.Entities.SSOUserRole)",
"Name": "AddSSOUserRoleAsync",
- "LineNumber": 22,
+ "LineNumber": 20,
"Inputs": [
{
"Name": "newSSOUserRole",
@@ -12935,7 +12930,7 @@
{
"Id": "cCoder.Security.Services.Processings.SSOUserRoleProcessingService.DeleteSSOUserRoleAsync(cCoder.Security.Models.Entities.SSOUserRole)",
"Name": "DeleteSSOUserRoleAsync",
- "LineNumber": 30,
+ "LineNumber": 28,
"Inputs": [
{
"Name": "deletedSSOUserRole",
@@ -13001,7 +12996,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -13010,7 +13004,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -13052,7 +13045,7 @@
{
"Id": "cCoder.Security.Services.Processings.SessionProcessingService.Clear()",
"Name": "Clear",
- "LineNumber": 57,
+ "LineNumber": 55,
"Inputs": [],
"ReturnType": "System.Void",
"Implements": [
@@ -13068,7 +13061,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -13077,7 +13069,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -13161,7 +13152,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -13170,7 +13160,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -13189,7 +13178,7 @@
{
"Id": "cCoder.Security.Services.Processings.SessionProcessingService.Remove(System.String)",
"Name": "Remove",
- "LineNumber": 50,
+ "LineNumber": 48,
"Inputs": [
{
"Name": "key",
@@ -13238,7 +13227,7 @@
{
"Id": "cCoder.Security.Services.Processings.SessionProcessingService.SetSSOUser(cCoder.Security.Models.Entities.SSOUser)",
"Name": "SetSSOUser",
- "LineNumber": 37,
+ "LineNumber": 35,
"Inputs": [
{
"Name": "user",
@@ -13301,7 +13290,7 @@
{
"Id": "cCoder.Security.Services.Processings.SessionProcessingService.SetString(System.String,System.String)",
"Name": "SetString",
- "LineNumber": 30,
+ "LineNumber": 28,
"Inputs": [
{
"Name": "key",
@@ -13493,7 +13482,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -13502,7 +13490,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -13521,7 +13508,7 @@
{
"Id": "cCoder.Security.Services.Processings.TenantAnalysisProcessingService.UpdateTenantAnalysisAsync(cCoder.Security.Models.Entities.TenantAnalysis)",
"Name": "UpdateTenantAnalysisAsync",
- "LineNumber": 40,
+ "LineNumber": 38,
"Inputs": [
{
"Name": "updatedTenantAnalysis",
@@ -13710,7 +13697,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -13719,7 +13705,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -13738,7 +13723,7 @@
{
"Id": "cCoder.Security.Services.Processings.TenantProcessingService.UpdateTenantAsync(cCoder.Security.Models.Entities.Tenant)",
"Name": "UpdateTenantAsync",
- "LineNumber": 38,
+ "LineNumber": 36,
"Inputs": [
{
"Name": "updatedTenant",
@@ -14468,7 +14453,6 @@
}
],
"PossibleExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingDependencyException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
@@ -14477,7 +14461,6 @@
"cCoder.Security.Models.Exceptions.SecurityValidationException"
],
"IncomingExceptionTypes": [
- "System.ArgumentNullException",
"cCoder.Security.Models.Exceptions.SecurityProcessingServiceException",
"cCoder.Security.Models.Exceptions.SecurityServiceException"
],
@@ -18336,30 +18319,20 @@
"IsPublic": false,
"Kind": "Interface",
"BaseType": null,
- "Interfaces": [],
- "Properties": [],
- "Methods": [
+ "Interfaces": [
{
- "Id": "cCoder.Security.Services.Foundations.Interfaces.ISSOPrivilegeService.GetAllSSOPrivileges()",
- "Name": "GetAllSSOPrivileges",
- "LineNumber": 11,
- "Inputs": [],
- "ReturnType": "System.Linq.IQueryable\u003CcCoder.Security.Models.Entities.SSOPrivilege\u003E",
- "Implements": [],
- "Calls": [],
- "PossibleExceptionTypes": [],
- "IncomingExceptionTypes": [],
- "ThrowsExceptionTypes": [],
- "HttpMethods": [],
- "HttpResponses": [],
- "IsHttpRequestHandler": false,
- "IsODataControllerAction": false,
- "HasFromBodyParameter": false,
- "HasKeyParameter": false,
- "HandlesNullWithNotFound": false,
- "HasTryCatch": false
+ "Id": "cCoder.Security:cCoder.Security.Exposures.ISSOPrivilegeManager",
+ "FullName": "cCoder.Security.Exposures.ISSOPrivilegeManager",
+ "Name": "ISSOPrivilegeManager",
+ "Namespace": "cCoder.Security.Exposures",
+ "AssemblyName": "cCoder.Security",
+ "Kind": "Interface",
+ "IsInCurrentProject": true,
+ "StandardElementType": "Exposure"
}
- ]
+ ],
+ "Properties": [],
+ "Methods": []
},
{
"Name": "cCoder.Security.Services.Foundations.Interfaces.ISSORoleService",
@@ -19522,28 +19495,6 @@
}
]
},
- {
- "Name": "cCoder.Security.Services.Processings.Interfaces.ISSOPrivilegeProcessingService",
- "StandardElementType": "ProcessingService",
- "LineNumber": 11,
- "IsPublic": false,
- "Kind": "Interface",
- "BaseType": null,
- "Interfaces": [
- {
- "Id": "cCoder.Security:cCoder.Security.Exposures.ISSOPrivilegeManager",
- "FullName": "cCoder.Security.Exposures.ISSOPrivilegeManager",
- "Name": "ISSOPrivilegeManager",
- "Namespace": "cCoder.Security.Exposures",
- "AssemblyName": "cCoder.Security",
- "Kind": "Interface",
- "IsInCurrentProject": true,
- "StandardElementType": "Exposure"
- }
- ],
- "Properties": [],
- "Methods": []
- },
{
"Name": "cCoder.Security.Services.Processings.Interfaces.ISSORoleProcessingService",
"StandardElementType": "ProcessingService",
@@ -20590,7 +20541,7 @@
},
{
"FromType": "cCoder.Security.Exposures.Controllers.SSOPrivilegeController",
- "ToType": "cCoder.Security.Services.Processings.SSOPrivilegeProcessingService"
+ "ToType": "cCoder.Security.Services.Foundations.SSOPrivilegeService"
},
{
"FromType": "cCoder.Security.Exposures.Controllers.SSORoleController",
@@ -20864,10 +20815,6 @@
"FromType": "cCoder.Security.Services.Processings.RequestProcessingService",
"ToType": "cCoder.Security.Services.Foundations.RequestService"
},
- {
- "FromType": "cCoder.Security.Services.Processings.SSOPrivilegeProcessingService",
- "ToType": "cCoder.Security.Services.Foundations.SSOPrivilegeService"
- },
{
"FromType": "cCoder.Security.Services.Processings.SSORoleProcessingService",
"ToType": "cCoder.Security.Services.Foundations.SSORoleService"
@@ -20936,6 +20883,13 @@
"Type": "cCoder.Security.Exposures.Controllers.AuthenticationController",
"LineNumber": 60
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.AuthenticationController",
+ "LineNumber": 60
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20943,6 +20897,13 @@
"Type": "cCoder.Security.Exposures.Controllers.ConfirmForgotPasswordController",
"LineNumber": 18
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.ConfirmForgotPasswordController",
+ "LineNumber": 18
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20950,6 +20911,13 @@
"Type": "cCoder.Security.Exposures.Controllers.CurrentUserController",
"LineNumber": 17
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.CurrentUserController",
+ "LineNumber": 17
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20964,6 +20932,13 @@
"Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
"LineNumber": 19
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
+ "LineNumber": 19
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20971,6 +20946,13 @@
"Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
"LineNumber": 57
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
+ "LineNumber": 57
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20978,6 +20960,13 @@
"Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
"LineNumber": 83
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
+ "LineNumber": 83
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20985,6 +20974,13 @@
"Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
"LineNumber": 121
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
+ "LineNumber": 121
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20992,6 +20988,13 @@
"Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
"LineNumber": 147
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.RegistrationController",
+ "LineNumber": 147
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -20999,6 +21002,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOPrivilegeController",
"LineNumber": 19
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOPrivilegeController",
+ "LineNumber": 19
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21006,6 +21016,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOPrivilegeController",
"LineNumber": 43
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOPrivilegeController",
+ "LineNumber": 43
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21013,6 +21030,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
"LineNumber": 19
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
+ "LineNumber": 19
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21020,6 +21044,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
"LineNumber": 43
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
+ "LineNumber": 43
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21027,6 +21058,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
"LineNumber": 72
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
+ "LineNumber": 72
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21034,6 +21072,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
"LineNumber": 102
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
+ "LineNumber": 102
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21041,6 +21086,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
"LineNumber": 135
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSORoleController",
+ "LineNumber": 135
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21048,6 +21100,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
"LineNumber": 19
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
+ "LineNumber": 19
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21055,6 +21114,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
"LineNumber": 43
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
+ "LineNumber": 43
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21062,6 +21128,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
"LineNumber": 73
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
+ "LineNumber": 73
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21069,6 +21142,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
"LineNumber": 105
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOUserController",
+ "LineNumber": 105
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21076,6 +21156,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOUserRoleController",
"LineNumber": 18
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOUserRoleController",
+ "LineNumber": 18
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21083,6 +21170,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOUserRoleController",
"LineNumber": 41
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOUserRoleController",
+ "LineNumber": 41
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21090,6 +21184,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SSOUserRoleController",
"LineNumber": 72
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SSOUserRoleController",
+ "LineNumber": 72
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21097,6 +21198,13 @@
"Type": "cCoder.Security.Exposures.Controllers.SetupController",
"LineNumber": 17
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.SetupController",
+ "LineNumber": 17
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21104,6 +21212,13 @@
"Type": "cCoder.Security.Exposures.Controllers.TenantAnalysisController",
"LineNumber": 19
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.TenantAnalysisController",
+ "LineNumber": 19
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21111,6 +21226,13 @@
"Type": "cCoder.Security.Exposures.Controllers.TenantAnalysisController",
"LineNumber": 43
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.TenantAnalysisController",
+ "LineNumber": 43
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21118,6 +21240,13 @@
"Type": "cCoder.Security.Exposures.Controllers.TenantController",
"LineNumber": 19
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.TenantController",
+ "LineNumber": 19
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21125,6 +21254,13 @@
"Type": "cCoder.Security.Exposures.Controllers.TenantController",
"LineNumber": 43
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.TenantController",
+ "LineNumber": 43
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21132,6 +21268,13 @@
"Type": "cCoder.Security.Exposures.Controllers.TenantController",
"LineNumber": 72
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.TenantController",
+ "LineNumber": 72
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21139,6 +21282,13 @@
"Type": "cCoder.Security.Exposures.Controllers.TenantController",
"LineNumber": 102
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.TenantController",
+ "LineNumber": 102
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21146,6 +21296,13 @@
"Type": "cCoder.Security.Exposures.Controllers.TenantController",
"LineNumber": 135
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.TenantController",
+ "LineNumber": 135
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
@@ -21153,12 +21310,26 @@
"Type": "cCoder.Security.Exposures.Controllers.UserEventController",
"LineNumber": 19
},
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.UserEventController",
+ "LineNumber": 19
+ },
{
"Code": "STXAPI005",
"Description": "Every public HTTP handler must map success and caught failure paths to 2xx, 4xx, or 5xx responses.",
"Severity": "Warning",
"Type": "cCoder.Security.Exposures.Controllers.UserEventController",
"LineNumber": 43
+ },
+ {
+ "Code": "STXAPI006",
+ "Description": "An HTTP failure response must log the caught exception before returning it.",
+ "Severity": "Warning",
+ "Type": "cCoder.Security.Exposures.Controllers.UserEventController",
+ "LineNumber": 43
}
]
}
\ No newline at end of file