aspose file tools*
The moose likes Groovy and the fly likes Licencing option in application built with Grails Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Licencing option in application built with Grails" Watch "Licencing option in application built with Grails" New topic
Author

Licencing option in application built with Grails

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi,
i developed an application using Grails 2.2.0, i want to make a licencing feature in the application for instance use if for 30 days as trial, after that it stops and need a key , how i can make the licencing part, is there any tool or plugins may help in this?


Thanks,
Sherif
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Any reply Guys ?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I don't know of any plugins, but I've done this myself. Basically, you need a domain that keeps track of what license belongs to a user. You might call this UserLicense. Then just create a filter that, on each request, validates the license. Or, you could do that on login and assume that for each session, the license is valid.


GenRocket - Experts at Building Test Data
 
Consider Paul's rocket mass heater.
 
subject: Licencing option in application built with Grails