메소드 | 설명 | |
---|---|---|
AdoSecurityProvider ( string username ) : System |
Initializes a new instance of the AdoSecurityProvider class.
|
|
Authenticate ( string password ) : bool |
Authenticates the user.
|
|
ChangePassword ( string oldPassword, string newPassword ) : bool |
Changes user password in the backend data store.
|
|
ExtractSecurityContext ( IDbConnection connection, Action |
Extracts the current security context from the database.
|
|
LoadSettings ( ) : void |
Loads saved security provider settings from the config file if the SecurityProviderBase.PersistSettings property is set to true.
|
|
RefreshData ( ) : bool |
Refreshes the UserData.
|
메소드 | 설명 | |
---|---|---|
AdoSecurityProvider ( string username, bool canRefreshData, bool canUpdateData, bool canResetPassword, bool canChangePassword ) : System |
Initializes a new instance of the AdoSecurityProvider class.
|
|
GetLdapPath ( ) : string |
Gets the LDAP path.
|
|
LogAuthenticationAttempt ( bool loginSuccess ) : bool |
Logs user authentication attempt.
|
|
LogError ( string source, string message ) : bool |
Logs information about an encountered exception to the backend data store.
|
메소드 | 설명 | |
---|---|---|
AddSecurityContextTable ( IDbConnection connection, |
||
AdoSecurityProvider ( ) : System | ||
CacheLastUserRoles ( object state ) : void | ||
EncodeEscapeSequences ( string value ) : string | ||
UpdatePrimaryKey ( |
public AdoSecurityProvider ( string username ) : System | ||
username | string | Name that uniquely identifies the user. |
리턴 | System |
protected AdoSecurityProvider ( 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. |
리턴 | System |
public Authenticate ( string password ) : bool | ||
password | string | Password to be used for authentication. |
리턴 | bool |
public ChangePassword ( string oldPassword, string newPassword ) : bool | ||
oldPassword | string | User's current password. |
newPassword | string | User's new password. |
리턴 | bool |
public static ExtractSecurityContext ( IDbConnection connection, Action |
||
connection | IDbConnection | Existing database connection used to extract security context. |
exceptionHandler | Action |
Exception handler to use for any exceptions encountered while updating security cache. |
리턴 |
protected LogAuthenticationAttempt ( bool loginSuccess ) : bool | ||
loginSuccess | bool | true if user authentication was successful, otherwise false. |
리턴 | bool |
protected LogError ( string source, string message ) : bool | ||
source | string | Source of the exception. |
message | string | Detailed description of the exception. |
리턴 | bool |