22 Jul
2015
22 Jul
'15
10:54 a.m.
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.