I have two types of users for my website: Seller and Buyer. Both of these domain classes are different (Seller has auctions and Buyer has bids). How can I create two domain classes using Spring security plugin?
Extend the User class to both Seller and Buyer - it will not work as I will have to register one class for spring security
Have the user object as an attribute in both Seller and Buyer. Will that work? Has anyone tried that before?
I could not find an example on internet. All I found was how to customise the plugin either by modifying User class or by extending it. If you can point me to some direction that will be good. I am new to Grails. Thanks.