You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 27, 2020. It is now read-only.
The @WebApiNoAuth annotation is not working on a MultiPartResourceAction.Create method unless another EntityResourceAction.Create method is present in the same class.
A POST request to the endpoint above with e.g. curl -i -X POST -F 'xyz=abc' http://localhost:8080/alfresco/api/-default-/public/sandbox/versions/1/sandbox will respond with a HTTP status code 401.
If an extra endpoint is added to the class by using the EntityResourceAction.Create interface, and if this new endpoint method is annotated with the @WebApiNoAuth annotation, then the above mentioned endpoint in line 29 wil suddenly start to work as expected, i.e. it can be called without authentication.
So the presence of one endpoint affects the authentication properties of another endpoint, and I guess that this is not the expected behaviour?