Name
Connector::Proxy::Authentication::KeyNanny
Description
Lightweight connector to check passwords against a Keynanny daemon. LOCATION must point to the keynannyd socket file, PREFIX can be set and is added in front of the username to build the keynanny path. Note that prefix must be given in connector syntax (dot seperator).
Usage
The username is the last component of the path, the password needs to be passed in the extended parameters using the key password.
Example:
$connector->get('username', { password => 'mySecret' } );
Return values
1 if the password matches, 0 if the user is found but the password does not match and undef if the user is not found.
The connector will die if keynanny is unreachable.
Limitations
Usernames are limited to [a-zA-Z0-9_\-\.], invalid names are treated as not found.