Extension points to authentication methods

Alan DeKok aland at deployingradius.com
Wed Jul 22 16:54:26 CEST 2015


On Jul 22, 2015, at 3:49 PM, Anuruddha Premalal <anuruddhapremalal at 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.




More information about the Freeradius-Devel mailing list