Skip to content
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

CrumbIssuer.crumb now returns boxed version of its former self so tha… #15

Merged
merged 3 commits into from
May 9, 2018

Conversation

cdancy
Copy link
Owner

@cdancy cdancy commented May 8, 2018

@martinda this PR addresses #14 . The CrumbIssuer.crumb endpoint can now be checked for errors(). We then take advantage of this in the authentication filter to check whether the call returns a 404/ResourceNotFoundException and if so simply ignore adding the crumb to the request otherwise throw an exception with the error attached.

Check it out and let me know what you think.

@cdancy cdancy added this to the v0.0.9 milestone May 8, 2018
@cdancy cdancy self-assigned this May 8, 2018
@martinda
Copy link
Collaborator

martinda commented May 8, 2018

I tried it today and it worked as expected. Thank you!

@cdancy cdancy merged commit d56f1c4 into master May 9, 2018
martinda referenced this pull request in martinda/cdancy-jenkins-rest Dec 5, 2021
martinda referenced this pull request in martinda/cdancy-jenkins-rest Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants