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

Add support for authentication #9

Open
tigreped opened this issue Oct 26, 2015 · 0 comments
Open

Add support for authentication #9

tigreped opened this issue Oct 26, 2015 · 0 comments
Assignees
Milestone

Comments

@tigreped
Copy link
Contributor

For security reasons, there should be some sort of authentication for the API users. Study and implement one.

@tigreped tigreped added this to the 1.2 milestone Oct 27, 2015
@tigreped tigreped self-assigned this Oct 27, 2015
tigreped added a commit that referenced this issue Nov 23, 2015
…ased on email and password. Only a hash of the hashed password concatenated with a pseudorandom md5 salt is stored and verified to grant user authentication. If the user is login in for the first time, a token is generated upon login, and in the future, the system will check if the token presented upon login is more than 7 days old. If it is not, return that token. If it is, generate a new token and update the database to make it the valid token for that user for the next 7 days, returning this new token to the user.
tigreped added a commit that referenced this issue Nov 23, 2015
…oved JSON error messaging with ErrorResult class. Version set as context on application.properties. Fixed some class headers with code license and improved class and method comments.
tigreped added a commit that referenced this issue Nov 25, 2015
…oid providing tokens to unauthorized users.
@tigreped tigreped reopened this Nov 25, 2015
tigreped added a commit that referenced this issue Dec 3, 2015
tigreped added a commit that referenced this issue Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant