I understanding now, how the Magnolia works. I writing REST Endpoint for Magnolia Content App in Java. My Content App is Categories – App and it looks like this: My task is, to define a REST endpoint for the Categories app in Java, which delivers the subcategories based on a passed category name and displays them in a component. For
Tag: endpoint
@DeleteMapping endpoint not triggered at all
My webClient calls work fine with @GetMapping, but @DeleteMapping isn’t even triggered. Here are the two methods I’m using: The endpoints are: When I try to delete an item I get no errors, no 405, no 400, no 403, nothing. The webClient call returns normally (with a MonoIgnorePublisher object), but the endpoint seems to not be triggered at all (I
Application Failed to start The Dependencies of some of the Beans form a cycle… Why?
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
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