Méthode | Description | |
---|---|---|
Authenticate ( string password ) : bool |
Authenticates the user.
|
|
ChangePassword ( string oldPassword, string newPassword ) : bool |
Changes user password in the backend data store. This method always returns |
|
LdapSecurityProvider ( string username ) : System |
Initializes a new instance of the LdapSecurityProvider class.
|
|
LoadSettings ( ) : void |
Loads saved LdapSecurityProvider settings from the config file if the SecurityProviderBase.PersistSettings property is set to true.
|
|
RefreshData ( ) : bool |
Refreshes the UserData from the backend data store.
|
|
ResetPassword ( string securityAnswer ) : bool |
Resets user password in the backend data store.
|
|
SaveSettings ( ) : void |
Saves LdapSecurityProvider settings to the config file if the SecurityProviderBase.PersistSettings property is set to true.
|
|
TranslateRole ( string role ) : string |
Performs a translation of the specified user role.
|
|
UpdateData ( ) : bool |
Updates the UserData in the backend data store.
|
Méthode | Description | |
---|---|---|
GetLdapPath ( ) : string |
Gets the LDAP path.
|
|
LdapSecurityProvider ( string username, bool canRefreshData, bool canUpdateData, bool canResetPassword, bool canChangePassword ) : System |
Initializes a new instance of the LdapSecurityProvider class.
|
|
RefreshData ( List |
Refreshes the UserData from the backend data store loading user groups into desired collection.
|
public Authenticate ( string password ) : bool | ||
password | string | Password to be used for authentication. |
Résultat | bool |
public ChangePassword ( string oldPassword, string newPassword ) : bool | ||
oldPassword | string | User's current password. |
newPassword | string | User's new password. |
Résultat | bool |
public LdapSecurityProvider ( string username ) : System | ||
username | string | Name that uniquely identifies the user. |
Résultat | System |
protected LdapSecurityProvider ( string username, bool canRefreshData, bool canUpdateData, bool canResetPassword, bool canChangePassword ) : System | ||
username | string | Name that uniquely identifies the user. |
canRefreshData | bool | true if the security provider can refresh |
canUpdateData | bool | true if the security provider can update |
canResetPassword | bool | true if the security provider can reset user password, otherwise false. |
canChangePassword | bool | true if the security provider can change user password, otherwise false. |
Résultat | System |
protected RefreshData ( List |
||
groupCollection | List |
Target collection for user groups. |
providerID | int | Unique provider ID used to distinguish cached user data that may be different based on provider. |
Résultat | bool |
public ResetPassword ( string securityAnswer ) : bool | ||
securityAnswer | string | Answer to the user's security question. |
Résultat | bool |
public TranslateRole ( string role ) : string | ||
role | string | The user role to be translated. |
Résultat | string |