https://github.com/bearddan2000/scala-web-sbt-spring-jsp-challenge-question-des-encrypt-bcrypt-encoded
A springboot challenge-question web app with jsp support.
https://github.com/bearddan2000/scala-web-sbt-spring-jsp-challenge-question-des-encrypt-bcrypt-encoded
bcrypt bootstrap challenge datatable des encoded encrypt jquery jsp question sbt scala spring springboot web
Last synced: 3 months ago
JSON representation
A springboot challenge-question web app with jsp support.
- Host: GitHub
- URL: https://github.com/bearddan2000/scala-web-sbt-spring-jsp-challenge-question-des-encrypt-bcrypt-encoded
- Owner: bearddan2000
- Created: 2021-11-24T16:02:35.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-24T16:02:37.000Z (almost 4 years ago)
- Last Synced: 2025-03-24T11:29:02.692Z (7 months ago)
- Topics: bcrypt, bootstrap, challenge, datatable, des, encoded, encrypt, jquery, jsp, question, sbt, scala, spring, springboot, web
- Language: Scala
- Homepage: https://github.com/bearddan2000/scala-web-sbt-spring-jsp-challenge-question-des-encrypt-bcrypt-encoded
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scala-web-sbt-spring-jsp-challenge-question-des-encrypt-bcrypt-encoded
## Description
A springboot challenge-question web app with jsp support.
Three roles are defined; USER, ADMIN, and SUPER. All roles
can access pages `/home`, `/login`, and `/about`. Only USER
can access `/user` and ADMIN only `/admin` whereas SUPER can
navigate to either and have its own `/super`. Each role
has an action USER=VIEW ONLY, ADMIN=READ/WRITE, SUPER=CREATE.
All password are DES encrypted and encoded with bcrypt.Presents a register form to create an inMemoryUser.
Once the user is created it is given the USER role
by default and auto logged in.Presents a challenge-question form to challenge-question passwords on any user,
by default the user is reassigned USER role and auto
logged in. Only restriction on passwords are they match;
all validation is done client side.Uses a challenge question on password rest and user register
to verify user. Customizes user data class by extending the
UserDetailService.## Tech stack
- scala
- sbt
- springboot
- jsp
- bootstrap
- jquery
- datatable## Docker stack
- hseeberger/scala-sbt:11.0.2-oraclelinux7_1.3.5_2.12.10## To run
`sudo ./install.sh -u`
Available at http://localhost
- Login with id: user and password: pass
- Login with id: admin and password: pass
- Login with id: super and password: pass## To stop (optional)
`sudo ./install.sh -d`## For help
`sudo ./install.sh -h`## Credit
[Code concept] (https://stackoverflow.com/questions/20227/how-do-i-use-3des-encryption-decryption-in-java)