usnistgov / oar-pdr

The NIST Open Access to Research (OAR) Public Data Repository (PDR) system software
11 stars 10 forks source link

Fix/redirect url issue #147

Closed deoyani closed 4 years ago

deoyani commented 4 years ago

This branch is created to address the web inspect issues raised. For login request only approved URL redirects are allowed. For fixing this issue, added customFilter class and added it to filter chain. There are checks added to make sure the appropriate request parameters are processed and forwarded to identity server and if it fails to satisfy returns UnAuthorized error message.