473,394 Members | 1,737 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

In Enterprise Library, Where to invoked the store procedure "GetPassword" to authenticated the user?

The authentication code of enterprise libiary like the following:

IAuthenticationProvider authenticationProvider = AuthenticationFactory.GetAuthenticationProvider();
IIdentity identity;
NamePasswordCredential credentials = new NamePasswordCredential(username, password);
bool authenticated = authenticationProvider.Authenticate(credentials, out identity);

Sureally I had set the properly configuration items by Configuration Tools.And yes, the authentication can be authenticated. And I also knew that it was used the store procedure "GetPassword" to deal with it.

But now the problem is , I only found a place that used the store procedure "GetPassword" in the UserRoleManager.cs within the Security.Database project of Enterprise Library.

But I can't found where the code "authenticationProvider.Authenticate(credentia ls, out identity);" is to invoked that store procedure to authenticated the user and password. Even I has reviewed the source code of Enterprise Library. I still can't found the answer.

Any one can give me suggestion about this?

Thank you.

Benny Ng

Nov 19 '05 #1
2 2832
Benny,

could you post in plain text ?

If you post in HTML, OE prompts for installation
of the "Chinese Simplified" font.

Thanks!

Juan T. Llibre, ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
Foros de ASP.NET en Espa?ol : http://asp.net.do/foros/
======================================
"Benny Ng" <be**********@hotmail.com> wrote in message
news:uB**************@TK2MSFTNGP12.phx.gbl...
Nov 19 '05 #2
Oh,I'm sorry.

The authentication code of enterprise libiary like the following:

IAuthenticationProvider authenticationProvider =
AuthenticationFactory.GetAuthenticationProvider();
IIdentity identity;
NamePasswordCredential credentials = new NamePasswordCredential(username,
password);
bool authenticated = authenticationProvider.Authenticate(credentials, out
identity);

Sureally I had set the properly configuration items by Configuration
Tools.And yes, the authentication can be authenticated. And I also knew that
it was used the store procedure "GetPassword" to deal with it.

But now the problem is , I only found a place that used the store procedure
"GetPassword" in the UserRoleManager.cs within the Security.Database project
of Enterprise Library.

But I can't found where the code
"authenticationProvider.Authenticate(credentia ls, out identity);" is to
invoked that store procedure to authenticated the user and password. Even I
has reviewed the source code of Enterprise Library. I still can't found the
answer.

Any one can give me suggestion about this?

Thank you.

Benny Ng
Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: hazz | last post by:
Is Activator.CreateInstance(t,BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.CreateInstance, null, args, null) appropriate given the following; ...
7
by: hazz | last post by:
this is a repost with more concise code (well, for me) and better questions (I hope....) . given the following two classes, my intent is to use either Activator.CreateInstance or InvokeMember pass...
4
by: Charlie | last post by:
Hi: I'm storing my dB connection in web.config file. Since it will be easily read by opening file, what is a good way to secure it? Thanks, Charlie
5
by: Jozef | last post by:
Hello, I have an Access XP database that has attachments to a BE database that has a password. The attachments work fine, until I run some code that modifies a BE table (adding a field). I do...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
1
by: Ben | last post by:
Hi, When an anonymous user has created an new account (with the CreateUserWizard control), i want to let asp.net generate a password and to send it to the address of the email provided by the...
4
by: Ben | last post by:
Hi, i have already posted a more or less similar thread but it's gone unsolved with the flow of the other threads .. When an anonymous user has created an new account (with the...
4
by: ryan | last post by:
i am storing a usernames and passwords in a table called Users. I present a login form to the user when my application starts up (VB.NET, .NET CF, Windows Mobile 5) The user chooses a username...
2
by: vijaykumardahiya | last post by:
Hello Sir, I have a simple Issue but It is not resolve by me i.e input parameter are not store in Ms-Access. I store the input parameter through Standard Action <jsp:useBean>. jsp:useBean call a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.