b89smith 0 Light Poster

I am looking into setting up a radius server to connect to a WPA enterprise AP. I want to have the ability to write a script or program that handles the authentication on the radius server, since I want it to connect to a database and verify the status of the user beyond just having a valid username and password. Are there any plugins for freeradius that can do this?