The current design allows package full upload before checking for token (in JwtFilter) and permissions (in methods bodies). In case if internet connection is slow or if the package file is too big, this leads to the token expiration before the upload finishes. It makes sense to at least check the token before upload starts.
It seems Drogon framework allows doing that via AOP joinpoints.
The current design allows package full upload before checking for token (in JwtFilter) and permissions (in methods bodies). In case if internet connection is slow or if the package file is too big, this leads to the token expiration before the upload finishes. It makes sense to at least check the token before upload starts.
It seems Drogon framework allows doing that via AOP joinpoints.