How do I provide basic authentication?

  • I've been away from programming for 10 years and now I want to build some applications again. I'm really interested in Qt and have just started learning.

    Right now, I need a way of authenticate my users. Personally, I'd prefer to authenticate against an Active Directory, but I couldn't find anything related.

    1. What class should I use for authentication? QAuthenticator? Any tutorial available?
    2. Is there a way to authenticate against an LDAP server? Preferably AD.
    3. Is there something "out-of-the-box"?
    4. Shall I develop my own authentication system?

    Any comments appreciated.


  • AFAIK, there is no standard component to do this. We've written our own code to query the AD server for user credentials.

  • Thank you, Andre!

    Would you mind giving me some directions on how to query the AD? Just a North.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.