Hello,
I wanted to have some public endpoint on Axelor (ie : not need to login for returning datas) and I searched in Axelor Framework.
I searched in the source code and I see this : https://github.com/axelor/axelor-open-platform/blob/c7aed53e63cab177da066cf343609c360d0d942b/axelor-core/src/main/java/com/axelor/auth/AuthWebModule.java
/ws/public/**
are anonymous route. So I tried to create and controller with the
@Path("public")
and a function inside with a route.
I can access in my browser this route by using localhost/erp-folder/ws/public/endpoint but only if I am logged.
I tried to debug the Axelor core, but I only see that the /ws/public/**
filter registered isn’t available in the chain. Maybe I don’t create the public endpoint because there is no documentation about this functionnality.
Is Axelor team know more about public endpoint ?
Thank you.