Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How can I perform operations with a specific user by logging in with the application user set on the application.properties ? #220

Open
p4535992 opened this issue Jan 2, 2024 · 0 comments

Comments

@p4535992
Copy link

p4535992 commented Jan 2, 2024

A question I would like to use the user set in "application.properties" as the application user to generate individual user tickets using the rest api service "generateTicket".

To make a simple use case, I have an alfresco username XXX and the generated ROLE_TICKET (generated using application user set on the application.properties ) for that user and I want to invoke the rest api's "getNode" method with the the authenticated user XXX.

How can I set at the java code level to invoke the restApi with the ticket of the user XXX ? I guess I have to add a header ? there this possibility at the java code level of this project ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant