Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cuba-platform/sample-user-registration
Example of users self-registration
https://github.com/cuba-platform/sample-user-registration
cuba-sample
Last synced: about 1 month ago
JSON representation
Example of users self-registration
- Host: GitHub
- URL: https://github.com/cuba-platform/sample-user-registration
- Owner: cuba-platform
- Created: 2016-11-20T19:40:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-10-29T03:34:19.000Z (about 2 years ago)
- Last Synced: 2024-04-14T15:33:43.924Z (9 months ago)
- Topics: cuba-sample
- Language: HTML
- Homepage: https://www.cuba-platform.com
- Size: 800 KB
- Stars: 6
- Watchers: 5
- Forks: 14
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User Registration
This is a simple example of using anonymous access to an application, i.e. taking some actions before login. Users can click the *Register* link on the login screen and register in the application with a new login name and password.
* [ExtLoginScreen](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/web/src/com/company/sample/web/screens/loginscreen/ExtLoginScreen.java) is an extension of the standard login screen. It adds the *Register* link and can receive new user credentials back from the register screen to set them to the fields.
* [RegisterScreen](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/web/src/com/company/sample/web/screens/register/RegisterScreen.java) accepts new user credentials and creates a new user in the database with the specified group and role.
* [RestorePasswordScreen](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/web/src/com/company/sample/web/screens/restorepassword/RestorePasswordScreen.java) generates a new password for an existing user and sends e-mail message with the generated password.
* [RegistrationService](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/global/src/com/company/sample/service/RegistrationService.java) is a simple service that provides user registration functionality. It can be created manually or simply using Studio (see how to [create](https://doc.cuba-platform.com/manual-7.1/service_creation.html) and [using](https://doc.cuba-platform.com/manual-7.1/service_import.html) services).
* [app.properties](https://github.com/cuba-platform/sample-user-registration/blob/master/modules/core/src/com/company/sample/app.properties) sets location of e-mail templates for password reset.
Based on CUBA Platform 7.2
## Issues
Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.