I am using SFAuthorizationPluginView in my Security agent plugin. My code expects that its willActivate method be called. With normal screensaver unlock, this works fine. However if I enter an invalid password, then enter the correct password, I never get the willActivate call. I have reproduced this with Quinn's LoginUIAuthPlugin from the QAuthPlugins example code. My mechanisms look like this with LoginUIAuthPlugin: <key>mechanisms</key> <array> <string>HyprAuthPlugin:invoke</string> <string>builtin:authenticate,privileged</string> <string>PKINITMechanism:auth,privileged</string> <string>LoginUIAuthPlugin:login</string> <string>CryptoTokenKit:login</string> </array>
I would like to be able to get my plugin working properly when the user had previously entered an invalid password.