The authentication code of enterprise libiary like the following:
IAuthentication Provider authenticationP rovider = AuthenticationF actory.GetAuthe nticationProvid er();
IIdentity identity;
NamePasswordCre dential credentials = new NamePasswordCre dential(usernam e, password);
bool authenticated = authenticationP rovider.Authent icate(credentia ls, 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 "GetPasswor d" to deal with it.
But now the problem is , I only found a place that used the store procedure "GetPasswor d" in the UserRoleManager .cs within the Security.Databa se project of Enterprise Library.
But I can't found where the code "authentication Provider.Authen ticate(credenti als, 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 2 2854
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**********@h otmail.com> wrote in message
news:uB******** ******@TK2MSFTN GP12.phx.gbl...
Oh,I'm sorry.
The authentication code of enterprise libiary like the following:
IAuthentication Provider authenticationP rovider =
AuthenticationF actory.GetAuthe nticationProvid er();
IIdentity identity;
NamePasswordCre dential credentials = new NamePasswordCre dential(usernam e,
password);
bool authenticated = authenticationP rovider.Authent icate(credentia ls, 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 "GetPasswor d" to deal with it.
But now the problem is , I only found a place that used the store procedure
"GetPasswor d" in the UserRoleManager .cs within the Security.Databa se project
of Enterprise Library.
But I can't found where the code
"authentication Provider.Authen ticate(credenti als, 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: hazz |
last post by:
Is Activator.CreateInstance(t,BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.CreateInstance, null, args, null) appropriate given the following;
**************************************
public interface IPasswordProvider
{
string GetPassword(Token token);
}
public DBPassword()
|
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 a token into the instantiated
class DBPassword and return a string;
**************************************
namespace DBPasswordProvider
public...
|
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
|
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 this by running code similar the
following;
Public varDb as DAO.database
sub ConnectBEDatabase(strLocation as string)
Set varDb =...
|
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
********************************************************
For this teeny job, please refer to:
http://feeds.reddit.com/feed/8fu/?o=25
| |
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 new membershipuser in the
CreateUserWizard control.
i think i need to define a custom provider for membership and i tried this:
web.config:
|
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 CreateUserWizard
control), i want to let asp.net generate a password and to send it
(AutoGeneratePassword="true") to the address of the email provided by the
new...
|
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 from a combo box that queries the Users
table. Then they type in a password string.
I then use the following code to validate the string when the...
|
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 property IssueData. this property exist in
SimpleBean which create a connection from DB and insert the data.
At run time servlet and server also...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |