Hi Keven,
My goal is to develop an authentication provider as you said, and I know
that this provider need to implement IAuthentication provider, however I need
more details on how to pass parameters from the Security configuration file
to this provider.
For example I'm planing to build an LDAP Authentication provider and I need
to pass parameters like: LDAP server name, LDAP protocol like "LDAP://" or
"WinNT://" , AuthenticationMode values from 0 to 256 and other parameters.
How to pass these parameters to my Authentication provider through the
Security application block configuration section.
The second question how to add my LdapAuthenticationProvider to the
Authentication provider dropdown in the security app block configuration
section when using the EL configuration console.
Finally I check the EL documentation but there is no example on how to
Extend or Modify the security application block and I would appreciate if
there is a sample code on how to do this kind of task.
Thanks.
"Kevin Yu [MSFT]" wrote:
Hi,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to implement an authentication
provider. If there is any misunderstanding, please feel free to let me know.
As far as I know, you need to implement the IAuthenticationProvider
interface. The interface has an Authenticate method, which checks a
credential and return if it is valid through a boolean value. It also sends
back an identity with output parameter.
You can check the Enterprise Library documentation for more information.
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."