Extension points to authentication methods
Hi Devs, Is it possible to extend the authentication methods to do custom checks. For an example I need to verify if a user has a valid accounting session before authenticating via clear text password. Regards, -- *Anuruddha Premalala (MIEEE)Mobile : +94710461070E-mail : anuruddhapremalal@gmail.com <anuruddhapremalal@gmail.com>web : www.regilandvalley.com <http://www.regilandvalley.com>Sri Lanka.*
On Jul 22, 2015, at 3:49 PM, Anuruddha Premalal <anuruddhapremalal@gmail.com> wrote:
Is it possible to extend the authentication methods to do custom checks. For an example I need to verify if a user has a valid accounting session before authenticating via clear text password.
That's just a policy in "unlang". Auth-Type pap { if ("%{sql: SELECT ...}" != "xxx") { reject } pap } Alan DeKok.
participants (2)
-
Alan DeKok -
Anuruddha Premalal