-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle exceptions that could arise in the passticket authenticat…
…ion schema (#3871) * draft of fixes (except evaluation of client certificate in the ZAAS) Signed-off-by: Pavel Jareš <[email protected]> * handle exceptions in zaas and unexpected status codes in gateway Signed-off-by: ac892247 <[email protected]> * align passticket tests with updated status codes, remove invalid test Signed-off-by: ac892247 <[email protected]> * handle safid exceptions in the same way as passticket Signed-off-by: ac892247 <[email protected]> * when content type is omitted Signed-off-by: ac892247 <[email protected]> * remove nested structure Signed-off-by: ac892247 <[email protected]> * remove error controller Signed-off-by: ac892247 <[email protected]> * return not_found handler Signed-off-by: ac892247 <[email protected]> * test endpoint not_found Signed-off-by: ac892247 <[email protected]> * add unit tests Signed-off-by: ac892247 <[email protected]> * test internal error and not found exception Signed-off-by: ac892247 <[email protected]> * remove duplicated exception handler for access denied Signed-off-by: ac892247 <[email protected]> * code review comments Signed-off-by: ac892247 <[email protected]> * include zaas IT in jacoco Signed-off-by: ac892247 <[email protected]> * revert unauth handler Signed-off-by: ac892247 <[email protected]> * zaas debug level Signed-off-by: ac892247 <[email protected]> * enabled debug logs Signed-off-by: ac892247 <[email protected]> * revert spring config location Signed-off-by: ac892247 <[email protected]> * move profiles to jvm flags Signed-off-by: ac892247 <[email protected]> * don't need specific for package Signed-off-by: ac892247 <[email protected]> * use the same method for cert PK encoding Signed-off-by: ac892247 <[email protected]> * test / code coverage Signed-off-by: Pavel Jareš <[email protected]> * test / code coverage - 403 Signed-off-by: Pavel Jareš <[email protected]> * tests / code coverage Signed-off-by: Pavel Jareš <[email protected]> * sonar Signed-off-by: Pavel Jareš <[email protected]> * remove unused field Signed-off-by: Pavel Jareš <[email protected]> * javax x jakarta + replace missing error with an internal error Signed-off-by: Pavel Jareš <[email protected]> * fix + test misconfigured service Signed-off-by: Pavel Jareš <[email protected]> * consider server cert only Signed-off-by: ac892247 <[email protected]> * check apiml cert in header too Signed-off-by: ac892247 <[email protected]> * return sooner, mode info in the logs Signed-off-by: ac892247 <[email protected]> * static definition for GitHub action Signed-off-by: Pavel Jareš <[email protected]> * styles and imports Signed-off-by: ac892247 <[email protected]> * update number of registered services in catalog Signed-off-by: ac892247 <[email protected]> --------- Signed-off-by: Pavel Jareš <[email protected]> Signed-off-by: ac892247 <[email protected]> Co-authored-by: ac892247 <[email protected]>
- Loading branch information
Showing
42 changed files
with
830 additions
and
634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
apiml-common/src/main/java/org/zowe/apiml/product/compatibility/ApimlErrorController.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.