-
Notifications
You must be signed in to change notification settings - Fork 2
Auth endpoint #95
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
Auth endpoint #95
Conversation
… into authEndpoint # Conflicts: # src/main/scala/de/upb/cs/swt/delphi/instanceregistry/Registry.scala # src/main/scala/de/upb/cs/swt/delphi/instanceregistry/connection/Server.scala Also added Dynamic Auth service
johannesduesing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @sami-cseseu, thanks for your PR 👍
I've looked through your code and commented on some design- and some naming-issues below, please change the code accordingly. Also i was wondering about the addUser functionality we discussed last time, because it is not yet part of the code. Please add it for the next review.
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/Configuration.scala
Outdated
Show resolved
Hide resolved
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/Registry.scala
Outdated
Show resolved
Hide resolved
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/authorization/AuthProvider.scala
Outdated
Show resolved
Hide resolved
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/authorization/AuthProvider.scala
Outdated
Show resolved
Hide resolved
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/authorization/AuthProvider.scala
Outdated
Show resolved
Hide resolved
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/authorization/AuthProvider.scala
Outdated
Show resolved
Hide resolved
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/daos/DatabaseAuthDAO.scala
Outdated
Show resolved
Hide resolved
src/main/scala/de/upb/cs/swt/delphi/instanceregistry/daos/DynamicAuthDAO.scala
Outdated
Show resolved
Hide resolved
...scala/de/upb/cs/swt/delphi/instanceregistry/io/swagger/client/model/RequestJsonSupport.scala
Outdated
Show resolved
Hide resolved
...scala/de/upb/cs/swt/delphi/instanceregistry/io/swagger/client/model/RequestJsonSupport.scala
Outdated
Show resolved
Hide resolved
johannesduesing
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @sami-cseseu, tested it using both in-memory and SQL-DB, and it worked like expected. Good job 👍
Added authentication endpoint by using it user will get authentication token for request