There are multiple things involved here, you need to have protected
page, two components, two servlets and OSGI service.1. The pages should
be protected, registering users should not be allowed on an anonymous
page and the page should be visible to only admin users.2. create a
registration component that asks basic details, email address, first
name, last name.3. on clicking of the submit button using Ajax, call
servlet.4. the servlet should handle creating a user and adding to the
group5. it is...