-
Notifications
You must be signed in to change notification settings - Fork 64
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
feat: functionality for error message in HttpBasicPassTicketScheme #2301
Merged
yelyzavetachebanova
merged 22 commits into
master
from
apiml/GH2071/enhance_httpPassTickets
Apr 21, 2022
Merged
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
758ddd8
functionality for error message in HttpBasicPassTicketScheme
AmandaDErrico 279f9aa
updated HttpBasicPassTicketSchemeTest to reflect new PassTicketComman…
AmandaDErrico 664ccf6
cleanup with exceptions, error messages
AmandaDErrico ede3ae5
Merge branch 'master' into apiml/GH2071/enhance_httpPassTickets
AmandaDErrico 9020852
revert back to throwing exception when generating pass ticket
AmandaDErrico 188b35a
only x-zowe-auth-failure before creating command
AmandaDErrico 080c801
updating apply and applyToRequest with authorizationValue=null
AmandaDErrico 3754eaf
Merge branch 'master' into apiml/GH2071/enhance_httpPassTickets
AmandaDErrico ce06cbe
added back messageService, and message for auth source error
AmandaDErrico a398c76
add x-zowe-auth header in apply and applyToRequest, error messages in…
AmandaDErrico 7db0ef4
moved logic - add request header with cookie only if authorizationVal…
AmandaDErrico 8112e90
empty commit to trigger job build
AmandaDErrico ce7b625
removed import in HttpBasicPassTicketSchemeTest
AmandaDErrico 77cdce4
moved logic for applyToRequest - add request header with cookie only …
AmandaDErrico d53ac41
added error messages when parsed auth source is null and when its use…
AmandaDErrico d9dcb5e
added try catch block for parse
AmandaDErrico 116a7e4
removing TokenExpireException from try catch block
AmandaDErrico 13a83ec
removing only TokenNotValidException from try catch block
AmandaDErrico 059c490
added back catch block for exception TokenNotValidException
AmandaDErrico 10b7a0d
Fix NPE in HttpBasicPassTicketScheme.isExpired() method
yelyzavetachebanova 13338c3
Use dedicated method to remove cookie
yelyzavetachebanova d45e14f
Fix JUnit test
yelyzavetachebanova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
can we use JwtCommand.removeCookie() ?
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.
done