-
Notifications
You must be signed in to change notification settings - Fork 35
icms_auth_method_Ldap
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
Authentication class for standard LDAP Server V2 or V3
- Class name: icms_auth_method_Ldap
- Namespace:
- Parent class: icms_auth_Object
public mixed $cp1252_map = array(
� => €,
/* EURO SIGN */
� => ‚,
/* SINGLE LOW-9 QUOTATION MARK */
� => ƒ,
/* LATIN SMALL LETTER F WITH HOOK */
� => „,
/* DOUBLE LOW-9 QUOTATION MARK */
� => …,
/* HORIZONTAL ELLIPSIS */
� => †,
/* DAGGER */
� => ‡,
/* DOUBLE DAGGER */
� => ˆ,
/* MODIFIER LETTER CIRCUMFLEX ACCENT */
� => ‰,
/* PER MILLE SIGN */
� => Š,
/* LATIN CAPITAL LETTER S WITH CARON */
� => ‹,
/* SINGLE LEFT-POINTING ANGLE QUOTATION */
� => Œ,
/* LATIN CAPITAL LIGATURE OE */
� => Ž,
/* LATIN CAPITAL LETTER Z WITH CARON */
� => ‘,
/* LEFT SINGLE QUOTATION MARK */
� => ’,
/* RIGHT SINGLE QUOTATION MARK */
� => “,
/* LEFT DOUBLE QUOTATION MARK */
� => ”,
/* RIGHT DOUBLE QUOTATION MARK */
� => •,
/* BULLET */
� => –,
/* EN DASH */
� => —,
/* EM DASH */
� => ˜,
/* SMALL TILDE */
� => ™,
/* TRADE MARK SIGN */
� => š,
/* LATIN SMALL LETTER S WITH CARON */
� => ›,
/* SINGLE RIGHT-POINTING ANGLE QUOTATION*/
� => œ,
/* LATIN SMALL LIGATURE OE */
� => ž,
/* LATIN SMALL LETTER Z WITH CARON */
� => Ÿ,
)
- Visibility: public
public mixed $ldap_server
- Visibility: public
public mixed $ldap_port = 389
- Visibility: public
public mixed $ldap_version = 3
- Visibility: public
public mixed $ldap_base_dn
- Visibility: public
public mixed $ldap_loginname_asdn
- Visibility: public
public mixed $ldap_loginldap_attr
- Visibility: public
public mixed $ldap_mail_attr
- Visibility: public
public mixed $ldap_name_attr
- Visibility: public
public mixed $ldap_surname_attr
- Visibility: public
public mixed $ldap_givenname_attr
- Visibility: public
public mixed $ldap_manager_dn
- Visibility: public
public mixed $ldap_manager_pass
- Visibility: public
public mixed $_ds
- Visibility: public
private mixed $_errors
- Visibility: private
mixed icms_auth_Object::__construct()
Authentication Service constructor
- Visibility: public
- This method is defined by icms_auth_Object
mixed icms_auth_method_Ldap::cp1252_to_utf8(mixed str)
- Visibility: public
- str mixed
bool icms_auth_Object::authenticate(mixed uname, mixed pwd)
authenticate
- Visibility: public
- This method is defined by icms_auth_Object
- uname mixed
- pwd mixed
\userDN icms_auth_method_Ldap::getUserDN(string uname)
Compose the user DN with the configuration.
- Visibility: public
- uname string - <p>UserName</p>
\icms_member_user_Object icms_auth_method_Ldap::getFilter(string uname)
Load user from ImpressCMS Database
- Visibility: public
- uname string - <p>UserName</p>
\icms_member_user_Object icms_auth_method_Ldap::getMember(string userdn, string uname, string pwd)
Loads user
- Visibility: public
- userdn string
- uname string - <p>Username</p>
- pwd string - <p>Password</p>
mixed icms_auth_Object::setErrors(mixed err_no, mixed err_str)
add an error
- Visibility: public
- This method is defined by icms_auth_Object
- err_no mixed
- err_str mixed
array icms_auth_Object::getErrors()
return the errors for this object as an array
- Visibility: public
- This method is defined by icms_auth_Object
string icms_auth_Object::getHtmlErrors()
return the errors for this object as html
- Visibility: public
- This method is defined by icms_auth_Object