Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. WCF and WF
  4. Service needs to get the logged in user credentials

Service needs to get the logged in user credentials

Scheduled Pinned Locked Moved WCF and WF
csharpwcfalgorithmstutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sonalee2304
    wrote on last edited by
    #1

    Hi, I am new to WCF. My application has already been built up. The service had been taking some hard coded credentials. Now the functionality I need to implement is that the service needs to get the credentials from the logged in user(i.e. the user details who logs in to the application). I have been searching this but some places I saw that CredentialCache.DefaultCredentials will return blank username/pwd and not the login details. Can anyone guide me through this? It would be really helpful.

    modified on Tuesday, September 22, 2009 8:29 AM

    P 1 Reply Last reply
    0
    • S sonalee2304

      Hi, I am new to WCF. My application has already been built up. The service had been taking some hard coded credentials. Now the functionality I need to implement is that the service needs to get the credentials from the logged in user(i.e. the user details who logs in to the application). I have been searching this but some places I saw that CredentialCache.DefaultCredentials will return blank username/pwd and not the login details. Can anyone guide me through this? It would be really helpful.

      modified on Tuesday, September 22, 2009 8:29 AM

      P Offline
      P Offline
      Parwej Ahamad
      wrote on last edited by
      #2

      Please answer my below query- 1- Which authentication you are using: windows or Form authentication ? 2- What is based to verify credential? Are you using the database on service side or via windows authentication? Note: This is the security concern so please read below link and make handy knowledge. If still you are facing some problem then post here. http://blogs.msdn.com/pedram/archive/2007/10/05/wcf-authentication-custom-username-and-password-validator.aspx[^]

      Parwej Ahamad ahamad.parwej@gmail.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups