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

SpnegoProvider throws StringOutOfIndexException, if the status code of the response is 401 #8

Open
mfh-114 opened this issue Dec 24, 2022 · 0 comments

Comments

@mfh-114
Copy link

mfh-114 commented Dec 24, 2022

I receive StringOutOfIndexException from SpnegoProvider, if the response of my REST API status code is 401.
If I put "WWW-Authenticate" header and return response with 401 status code, SpnegoProvider does not throw StringIndexOutOfBoundsException anymore. Everything works just fine. Details will be found in the StackOverflow.

Is it a bug?

Note:
I am using spnego-r9.jar. Because it is forked from
https://sourceforge.net/projects/spnego/, I am informed the issue here. If it is not related, please close the issue.

@mfh-114 mfh-114 changed the title SpnegoProvider throws StringOutOfIndexException, if status code of the response is 401 SpnegoProvider throws StringOutOfIndexException, if the status code of the response is 401 Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant