Namespace: Consultingwerk.SmartFramework.Authentication
Class 
DatabaseAuthenticationService Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Framework.IAuthenticationService

File:DatabaseAuthenticationService
Purpose:Provides server side Authentication using the database
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Nov 07 01:56:50 CET 2012



Top Method Summary
Options Name Purpose
+ ChangePassword (character, character, character, character, character) Changes the Password of a user
# PerformDatabaseAuthentication (AuthenticationParameter) Calls the Backend authentication method
+ LOGICAL ValidateUser (IUserCredentials) Validates the user credentials and updates the Session Manager with the user information


Method Detail
Top

PUBLIC ChangePassword (character, character, character, character, character)

Purpose: Changes the Password of a user
Notes:

Parameters:
pcUserName CHARACTER
The name of the user to change the password for
pcLoginCompanyGuid CHARACTER
The company the user belongs too
pcCurrentPassword CHARACTER
The current password
pcNewPassword CHARACTER
The new password to be set
pcNewPasswordVerified CHARACTER
The repeated new password
Top

PROTECTED PerformDatabaseAuthentication (AuthenticationParameter)

Purpose: Calls the Backend authentication method
Notes: Overridable method in case customers require to implement customized authentication
routines

Parameters:
poParameter Consultingwerk.SmartFramework.Authentication.AuthenticationParameter
The AuthenticationParameter instance
Top

PUBLIC LOGICAL ValidateUser (IUserCredentials)

Purpose: Validates the user credentials and updates the Session Manager with
the user information
Notes:

Parameters:
poCredentials Consultingwerk.Framework.IUserCredentials
The Credentials to be validated
Returns LOGICAL
Logical value indicating if the user has been authenticated


Temp-Table Detail


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 18:41:15