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
Warn message when booting application #459
Comments
How to reproduce In a simple app such as: https://github.com/grails-spring-security-samples/grails-spring-security-ajax Log with
When the app starts the next log entry is printed:
|
WARN log is throw because: `AjaxAwareAuthenticationFailureHandler' method signature is:
Ancestor class
On solution to remove this warning entry would be to change the configuration parameter to be a map instead of a list of maps. |
Closing because this was tagged as "Won't Fix" on April 21, 2017. |
Reopening based on comment from virtualdogbert in slack:
|
Correct, the default mapping is already a list: |
It appears the only way around this warning is to change the default setter method to a different name. The Spring team had a related issue at one point when dealing w/ multiple args which they fixed, but for this setter w/ a matching number of args, it's warning appears to be correct. This is the commit that appears to be the cause of this. |
Adds an alternatively named bean setter that serves the exact same purpose, but will avoid tripping the GenericTypeAwarePropertyDescriptor "ambiguous property" warning by default. Also changes the default config names so spring will utilize the new setter by default. Kept the original around so as to not break any custom defined AjaxAwareAuthenticationFailureHandler. Fixes grails#459
Adds an alternatively named bean setter that serves the exact same purpose, but will avoid tripping the GenericTypeAwarePropertyDescriptor "ambiguous property" warning by default. Also changes the default config names so spring will utilize the new setter by default. Kept the original around so as to not break any custom defined AjaxAwareAuthenticationFailureHandler. Fixes grails#459
Adds an alternatively named bean setter that serves the exact same purpose, but will avoid tripping the GenericTypeAwarePropertyDescriptor "ambiguous property" warning by default. Also changes the default config names so spring will utilize the new setter by default. Kept the original around so as to not break any custom defined AjaxAwareAuthenticationFailureHandler. Fixes #459
Hi!
I have this warn message when booting the app
ExceptionMappingAuthenticationFailureHandler L70
AjaxAwareAuthenticationFailureHandler L57
I'm using:
it's not a blocking issue just a minor/little one
Thanks :)
The text was updated successfully, but these errors were encountered: