users@glassfish.java.net

Any suggestions on how to use invitation-code with glassfish realms (WS)?

From: <glassfish_at_javadesktop.org>
Date: Fri, 03 Jul 2009 04:23:26 PDT

Hi all,

I've successfully implemented a form based security realm (flexibleJDBC) on glassfish to manage user authentication. What I would like to do next though is add some sort of 'invitation' code logic on the form as well so that invited users can signup (we're currently in a closed testing stage).

Would anyone have any ideas on how this might be done with realms please?

The first way I've thought of is to create dummy usernames/passwords for every invitation code I give out but this doesn't sound too ... optimal to me. Anyone come across anything like this or got any ideas on how/if I can use glassfish realms this for this please?

Many tks
Alex
[Message sent by forum member 'curtisa' (curtisa)]

http://forums.java.net/jive/thread.jspa?messageID=354074