cancel
Showing results for 
Search instead for 
Did you mean: 

Overriding AuthenticationProvider in ywebservices

Former Member
0 Kudos

We are having troubles overriding the default AuthenticationProvider for OAuth2 in ywebservices for Hybris 6.2.0.2. We have tried to set up aliases as well as reconfiguring beans, but nomather what we try, CoreAuthenticationProvider is used.

Anyone found a solution to this ?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Same problem, we had to patch (customize) oauth2 module to inject resourceBundleMessageSource (to override properties) and cannot override CoreAuthenticationProvider bean to support different (not default, but session) Locale for this code:

 throw new BadCredentialsException(this.messages.getMessage("CoreAuthenticationProvider.badCredentials", "Bad credentials"), var6);

Did anyone find more suitable way to fix this? did you do?
thanks in advance

0 Kudos

Did you find any solution for this ?