signond: fine-grain check for allowed mechanisms 8
authorAlberto Mardegan <alberto.mardegan@nokia.com>
Mon, 16 May 2011 13:25:52 +0000 (16:25 +0300)
committerAlberto Mardegan <alberto.mardegan@nokia.com>
Mon, 16 May 2011 13:25:52 +0000 (16:25 +0300)
commit8587ccde35a6de070f862f6ad37c5b1d4d11a6ca
treefcae726581f51654276b834fa3f79fb9ea4043d3
parent7dd561c124542bb5f86382ef1f4cecf71ec2f5d1
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