signond: fine-grain check for allowed mechanisms
authorAlberto Mardegan <alberto.mardegan@nokia.com>
Mon, 16 May 2011 13:25:52 +0000 (16:25 +0300)
committerAlberto Mardegan <alberto.mardegan@nokia.com>
Wed, 18 May 2011 08:40:21 +0000 (11:40 +0300)
commit69aa5b7e145c3a5a110123e7d70842a36a310f9c
tree49e6f274e2fe06d6951a7f9bf62165cb26d9f230
parent0b31a531550394d422f1a7e2584595cd38d6304f
signond: fine-grain check for allowed mechanisms

SASL uses the mechanism string as a space-separated list; therefore, if
comparing the full string fails, we need to split it in words, and filter out
those mechanisms that are not allowed.
src/signond/signonauthsessionadaptor.cpp
src/signond/signonidentityinfo.cpp
src/signond/signonidentityinfo.h