so I have this section of code in AppConfig.java: if I get rid of the @Lazy it will not start, i have tried to get rid of the constructor and do: same thing, can someone please help me out, I really don’t want to have to use the @Lazy Implementation. here is the error it returns: When getting rid of
Tag: endpoint
endpoint for authentication with spring security
I wanna create custom endpoint for login. It works fine when password and username are correct but returns 200 and login form instead 401 for incorrect data. public class SecurityConfiguration extends WebSecurityConfigurerAdapter { private final UserDetailsService userDetailsService; } Answer Try something like that: Don’t forget to Autowire AuthenticationManager and other services!
Getting java.lang.IllegalArgumentException when trying to make a dynamic HTTP endpoint in Mule
I got an HTTP outbound-endpoint that does a GET method to an specific URL, thing is that if i add a variable in the path URL it will throw an exception… i believe this is not being supported. This is my FLOW: This is the exception stacktrace Tried searching a lot in Google but i got no clue on what’s