Skip to content

Conversation

@PatrykMilewski
Copy link
Contributor

This closes #50

Added http client implementation based on Apache Http

Added wrapers for session token, credentials and secret

Added Reader implementation for reading data stored in storage

Took 11 hours 56 minutes
There are still missing some method implementations of abstract Module class

Took 1 hour 36 minutes
…nserver

# Conflicts:
#	Manager/pom.xml
#	Manager/src/main/java/io/raspberrywallet/manager/cryptography/crypto/exceptions/DecryptionException.java
#	Manager/src/main/java/io/raspberrywallet/manager/modules/ExampleModule.java
#	Manager/src/main/java/io/raspberrywallet/manager/modules/Module.java

Took 8 minutes
Changed storing secret logic for authorization server module, now Server is storing encryption key, that is used for key part encryption input from manager

Not working version, needs some debugging

Took 1 hour 25 minutes
@PatrykMilewski PatrykMilewski added the enhancement New feature or request label Oct 26, 2018
@stanbar stanbar added this to the Main features milestone Oct 27, 2018

@Override
public HttpResponse sendPOSTRequest(Form body, String endpoint) throws IOException {
org.apache.http.client.HttpClient client = HttpClients.createDefault();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if you could reuse OkHttpClient with Jackson, it's already in our dependencies, and seems to be much smaller and have nicer API

Removed unused StringReader class

Removed unused host parameter from HttpClients constructors

Changed access modifiers from protected to public in Module class

Took 42 minutes
@PatrykMilewski
Copy link
Contributor Author

@stasbar please review again, I made changes that you asked for, except for okhttp clients, due to some problems, Apache is fine for now, will refactor it sometime to okhttp

@PatrykMilewski PatrykMilewski merged commit 8b03e04 into master Oct 29, 2018
@PatrykMilewski PatrykMilewski deleted the module-authorizationserver branch November 1, 2018 22:13
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.

Authorization module

3 participants