Hi Francisco Xavier, I don't know either if the root cause it's the same, but I guess they could be related.
The involved stack is the following: - web service: org.apache.marmotta.platform.user.webservices.UserWebService - business logic: org.apache.marmotta.platform.core.services.user.UserServiceImpl and org.apache.marmotta.platform.user.services.AccountServiceImpl The security, so the prompt, is caused by the org.apache.marmotta.platform.security.filters.MarmottaAccessControlFilter It'd be great if we could added some integration tests to debug the issue. Thanks! On Mon, Mar 6, 2017 at 4:38 PM, FRANCISCO XAVIER SUMBA TORAL < [email protected]> wrote: > Hi Sergio, > > I don't know if that could be the root of my problem. My problem is with > the service that is returning nothing. > > I understand that the login button is causing confusion because the button > sometimes works and sometimes doesn't. I think the prompt of > username/password should be triggered when the button is pressed. However, > I couldn't find what triggers that prompt. Could you point me to the right > class? > > Cheers, > Xavier. > > 2017-03-02 3:33 GMT-05:00 Sergio Fernández <[email protected]>: > > > Hi Francisco Xavier, > > > > that may have the root cause than MARMOTTA-534 [1]. So it'd be great if > you > > could debug the issue and provide a PR fixing. > > > > Let me know if you could need any support. > > > > Then we should seriously resume the idea of pushing out 3.4.0 [2]. > > > > Cheers, > > > > [1] https://issues.apache.org/jira/browse/MARMOTTA-534 > > [2] > > https://lists.apache.org/thread.html/6df8b7cf8335d1f4767b7bc03536c7 > > 6e346c40d52df38f850c9b2898@%3Cdev.marmotta.apache.org%3E > > > > On Wed, Mar 1, 2017 at 10:18 PM, FRANCISCO XAVIER SUMBA TORAL < > > [email protected]> wrote: > > > > > Hi, > > > > > > I'm having a problem with the service */{BASE}/user/me*, always returns > > > nothing. I did a debug, and the POJO returned in *UserWebService.java* > is > > > sending a valid response. > > > > > > I am testing the service like this: > > > > > > *curl -X GET -H "Content-type: application/json" > > > http://redi.cedia.org.ec/marmottatest/user/me > > > <http://redi.cedia.org.ec/marmottatest/user/me>* > > > > > > It should return something like this: > > > > > > { > > > "login": "anonymous", > > > "uri": "http://redi.cedia.org.ec/marmottatest/user/anonymous", > > > "roles": [], > > > "foaf": {} > > > } > > > > > > but it returns nothing. > > > > > > Anyone knows what could be the cause of the problem? or Where could I > > start > > > debugging to find the problem? > > > > > > Cheers, > > > Xavier. > > > > > > > > > > > -- > > Sergio Fernández > > Partner Technology Manager > > Redlink GmbH > > m: +43 6602747925 > > e: [email protected] > > w: http://redlink.co > > > -- Sergio Fernández Partner Technology Manager Redlink GmbH m: +43 6602747925 e: [email protected] w: http://redlink.co
