Implementation of User Name Password Validator in software factory

Aug 27, 2008 at 9:55 AM
I am a newbie in WCF and software factory.
I refer you to this link :
It has an example on how to implement usernamepassword validator.
I don't quite understand how to implement that in
I understand the first part of the code attached is talking about configuration of App.config in the WCF service.
What do they mean by "the client endpoint configuration"?  I am using WCF Hosts to host my service to be call by the website.
So this that part supposed to be configuration of the host web.config file or the website web.config file?
How do I get the absolute address for the service endpoint?
Does anyone have any simple example I can use to understand this concept?