Feature #3578132: Kerberos configuration should be passwordless
commite9aa3a37c103bfefd7d5f1190d937c6213895f09
authorStefan Becker <chemobejk@gmail.com>
Sun, 2 Dec 2012 17:56:09 +0000 (2 19:56 +0200)
committerStefan Becker <chemobejk@gmail.com>
Sun, 2 Dec 2012 18:02:50 +0000 (2 20:02 +0200)
tree15d566d0db707789e0d118a5ca471cea8b26b8c1
parent8ec1cfc5521373992d7214129866edb158ea6cf2
Feature #3578132: Kerberos configuration should be passwordless

Introduce a new core API that the backend can check before calling
sipe_core_allocate() to check if the selected authentication scheme
requires a password or not. Update the sip-sec mechanisms to provide a
new hook function for this purpose.

Now we can use OPT_PROTO_PASSWORD_OPTIONAL in the purple backend and
inform the user when he needs to enter a password.
15 files changed:
src/api/sipe-core.h
src/core/sip-sec-krb5.c
src/core/sip-sec-krb5.h
src/core/sip-sec-mech.h
src/core/sip-sec-ntlm.c
src/core/sip-sec-ntlm.h
src/core/sip-sec-sspi.c
src/core/sip-sec-sspi.h
src/core/sip-sec-tls-dsk.c
src/core/sip-sec-tls-dsk.h
src/core/sip-sec.c
src/core/sip-sec.h
src/core/sip-transport.c
src/purple/purple-plugin.c
src/telepathy/telepathy-connection.c