C# Класс BExIS.Security.Services.Authentication.ADAuthenticationManager

Наследование: AuthenticationManager, IAuthenticationManager
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
ADAuthenticationManager ( string connectionString ) : System

Initialize a new LdapAuthenticationProvider

ValidateUser ( string username, string password ) : bool

Authenticate a user against a AD server

Описание методов

ADAuthenticationManager() публичный Метод

Initialize a new LdapAuthenticationProvider
public ADAuthenticationManager ( string connectionString ) : System
connectionString string connection string with all necessary paramters: /// /// /// Connection string key /// Description /// /// /// ldapBaseDn /// Point of entry to the LDAP /// /// /// ldapHost /// Hostname of the LDAP server /// /// /// ldapPort /// Port of the LDAP server. Expect a int value. /// /// /// ldapSecure /// Enable a SecureSocketLayer connection. Expect a boolean value. /// /// /// ldapAuthUid /// Attribute of the user, which sould used as unique identifier /// /// /// ldapProtocolVersion /// Version of the LDAP protocol, normally 3. Expect a int value. /// /// /// To assign a value to a key you have to use colon (:) and the seperation of the keys is done by using semicolon (;) /// E.g.: ldapPort:389;ldapSecure:true;ldapProtocolVersion:3;... ///
Результат System

ValidateUser() публичный Метод

Authenticate a user against a AD server
public ValidateUser ( string username, string password ) : bool
username string username to check
password string password of the user
Результат bool