2011-02-10 103 views
0

我想创建一个Joomla身份验证插件,它会在让用户进行身份验证之前执行一些业务逻辑,但我想让默认身份验证插件为我执行此操作。扩展Joomla身份验证插件

我想要做的是:

function onAuthenticate($credentials, $options, &$response) { 

    // My business logic 

    // Execute the onAuthenticate event of the default Joomla authentication plugin 
    // which can be Joomla, OpenId etc. 

} 

所以在我onAuthenticate功能,我想调用默认的身份验证插件的onAuthenticate功能。

任何想法?对不起,我是Joomla扩展开发新手。 感谢您的帮助。

+0

我自己解决了这个问题。 – jithujose 2011-02-10 10:55:46

回答

1

我解决了问题,只是让我的插件和joomla身份验证插件一起激活,我在我的插件的Order列中设置了0,所以它会在Joomla的身份验证插件之前得到onAuthenticate的通知。

相关问题