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

Ignore failure in SpnegoAuthenticationProcessingFilter like in BasicAuthenticationFilter #130

Open
b1zzu opened this issue Nov 20, 2018 · 1 comment

Comments

@b1zzu
Copy link

b1zzu commented Nov 20, 2018

Hi,
I would like to ignore the errors in SpnegoAuthenticationProcessingFilter with an additional option like in BasicAuthenticationFilter. This because I have a client witch is connected to another domain and witch always send a Authentication header with the wrong ticket, because the ticket is valid for the other domain and not my domain. My application allow users to login through kerberos or rest request which is handled by a controller. The problem is that the user will never reach the controller to perform a rest authentication because the SpnegoAuthenticationProcessingFilter will constantly fail try to authenticate the wrong ticket.

My idea to solve this problem is to introduce a ignore attributes which will make the request proceed through the chain without authenticate the user and by default the ignore attribute should be false.

I can work on this Pull request but but before doing so I wanted the approve from the community.

Bye,
Davide

@rwinch
Copy link
Member

rwinch commented Nov 21, 2018

@b1zzu Thanks for reaching out. This seems like a reasonable proposal to me. Please feel free to create a Pull Request.

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

2 participants