Hi there,
how can i do a service who recibe request from not authenticated client? (this is the one not auth service). This service need auth the client. The authentication ocurrs on another platform and we recive only a token.
Create your own REST controller without authentication. Just follow the steps of the Creating Custom OAuth2 Protected Controllers guide but remove security:http XML element from the rest-dispatcher-spring.xml file described on step 2. Then you will be able to invoke your endpoint bypassing standard authentication.
In order to invoke a service as anonymous user, get the anonymous session in the controller as follows: