diff --git a/tests/authentication/authenticatorForSource.php b/tests/authentication/authenticatorForSource.php new file mode 100644 index 0000000..0baafe2 --- /dev/null +++ b/tests/authentication/authenticatorForSource.php @@ -0,0 +1,17 @@ +getAuthenticationProvider(); +$oRegistry = KTAuthenticationProviderRegistry::getSingleton(); +$oProvider =& $oRegistry->getAuthenticationProvider($sProvider); +$oAuthenticator = $oProvider->getAuthenticator($oSource); +$oUser = User::getByUserName('nbm'); +$foo = $oAuthenticator->checkPassword($oUser, 'asdfa'); +var_dump($foo); + +?> diff --git a/tests/authentication/checkPassword.php b/tests/authentication/checkPassword.php new file mode 100644 index 0000000..1946b4e --- /dev/null +++ b/tests/authentication/checkPassword.php @@ -0,0 +1,10 @@ +