The TUserManager class provides access to the security-related information of Users of a Petra DB.
More...
|
static IUserAuthentication | LoadAuthAssembly (string AUserAuthenticationMethod) |
| load the plugin assembly for authentication More...
|
|
static bool | PerformUserAuthentication (String AUserID, String APassword, string AClientComputerName, string AClientIPAddress, out Boolean ASystemEnabled, TDBTransaction ATransaction) |
| Authenticate a user. More...
|
|
static void | SimulatePasswordAuthenticationForNonExistingUser () |
| Call this Method when a log-in is attempted for a non-existing user (!) so that the time that is spent on 'authenticating' them is as long as is spent on authenticating existing users. This is done so that an attacker that tries to perform user authentication with 'username guessing' cannot easily tell that the user doesn't exist by checking the time in which the server returns an error (this is an attack vector called 'timing attack')! More...
|
|
static string | CreateHashOfPassword (string APassword, string ASalt, int APasswordSchemeVersion) |
| create hash of password and the salt. replacement for FormsAuthentication.HashPasswordForStoringInConfigFile which is part of System.Web.dll and not available in the client profile of .net v4.0 More...
|
|
static bool | ReloadUserInfo () |
| Causes an immediately reload of the UserInfo that is stored in the session More...
|
|
static void | SignalReloadCachedUserInfo (String AUserID) |
| Queues a ClientTask for reloading of the UserInfo for all connected Clients with a certain UserID. More...
|
|
The TUserManager class provides access to the security-related information of Users of a Petra DB.
Calls methods that have the same name in the Ict.Petra.Server.App.Core.Security.UserManager Namespace to perform its functionality!
This is required in two places, because it is needed before the appdomain is loaded and therefore cannot be in MSysMan; and it is needed here to make it available to the client via MSysMan remotely