I think you would need to setup a radius server to be able to do this.