Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement jwt in session #20

Merged
merged 10 commits into from
Jun 2, 2019
Merged

Implement jwt in session #20

merged 10 commits into from
Jun 2, 2019

Conversation

Cynnexis
Copy link
Contributor

@Cynnexis Cynnexis commented Jun 2, 2019

  • JWT's are linked to the session.
  • The JWT expired after 1h.
  • When accessing a sensible page when the JWT is not verified or expired, the website signs out the user and redirect them to the index page.

Cynnexis added 4 commits May 22, 2019 18:16
* Added `JWTManager.Builder` to help create JWT easily. (tested)
* Tried to add the JWT to the client session.
* Used the builder to create a JWT.
* The JWT is now checked during the reservation. If it has expired, the user can now longer access the `Reservation` page.
* Branch is over. The JWT mechanism works perfectly fine.
* The JWT expired after 1h.
* When accessing a sensible page when the JWT is not verified or expired, the website sign out the user and redirect them to the index page.
* Fixed `JWTManager::verify()` method.
* Fixed `error.jsp` that had a variable translation problem.
@Cynnexis Cynnexis added the enhancement New feature or request label Jun 2, 2019
@Cynnexis Cynnexis self-assigned this Jun 2, 2019
Cynnexis added 6 commits June 2, 2019 19:37
* Added `JWTManager.Builder` to help create JWT easily. (tested)
* Tried to add the JWT to the client session.
* Used the builder to create a JWT.
* The JWT is now checked during the reservation. If it has expired, the user can now longer access the `Reservation` page.
* Branch is over. The JWT mechanism works perfectly fine.
* The JWT expired after 1h.
* When accessing a sensible page when the JWT is not verified or expired, the website sign out the user and redirect them to the index page.
* Fixed `JWTManager::verify()` method.
* Fixed `error.jsp` that had a variable translation problem.
@Cynnexis Cynnexis merged commit 51f5030 into master Jun 2, 2019
@Cynnexis Cynnexis deleted the implement-jwt-in-session branch June 2, 2019 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant