-
Notifications
You must be signed in to change notification settings - Fork 41
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
RequiresAuthenticationFilter: Doc/Impl wrong; empty clientName #12
Comments
Using the This must not be confused with tthe Let's have some examples:
Does it make things clearer? Can you point me out the part of the documentation which you find misleading? |
Oki, that makes it clear, sorry, I was confused |
Not problem at all. Always feel free to submit pull requests to improve documentation. |
On the spark-pa4j README, it is stated that you can leave away the
clientName
parameter on theRequiresAuthenticationFilter
:This is not how it is implemented: If you leave the clientName empty, all requests are prevented. This is due to the condition in the
DefaultClientFinder.find
which is called fromRequiresAuthenticationFilter
which will return an empty client-list if no client-name is specified.Could someone clarify if this is
a) A documentation bug
b) An implementation bug
I'm currently searching for the feature to require an authentication without explicitly specifying a client and haven't found it.
The text was updated successfully, but these errors were encountered: