Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
namespace JdeScoping.Core.Options;
|
||||
|
||||
/// <summary>
|
||||
/// LDAP configuration options for authentication
|
||||
/// </summary>
|
||||
public class LdapOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration section name
|
||||
/// </summary>
|
||||
public const string SectionName = "Ldap";
|
||||
|
||||
/// <summary>
|
||||
/// LDAP server URLs (supports multiple for failover).
|
||||
/// Example: ["ldap.corp.example.com", "ldap2.corp.example.com"]
|
||||
/// </summary>
|
||||
public string[] ServerUrls { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Distinguished name of required group for access.
|
||||
/// Example: "CN=ScopingTool-Users,OU=Groups,DC=corp,DC=example,DC=com"
|
||||
/// </summary>
|
||||
public string GroupDn { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// LDAP search base for user lookups.
|
||||
/// Example: "DC=corp,DC=example,DC=com"
|
||||
/// </summary>
|
||||
public string SearchBase { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Connection timeout in seconds.
|
||||
/// </summary>
|
||||
public int ConnectionTimeoutSeconds { get; set; } = 30;
|
||||
}
|
||||
Reference in New Issue
Block a user