Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence Rest Impersonation Calls

I'm currently developing an app through springboot which allows to input a json file containing inactive or expired users information. With this information I am required to search up many thing like personal spaces, spaces and pages watched, etc. But a few think that I must fetch Drafts and Tasks, are personal to the user thus I can only access my own Draft and Tasks because the authorization for the rest call contains my user login and password. I then heard about impersonation calls. Through what I have seen discussed on these forums I get conflicting messages, some people say that you cannot do impersonations calls for confluence and some say that you can. I wish to know if it is truly possible and how I would go about doing this through Java/SpringBoot. 

Thank you.

1 answer

0 votes

Hi @Nicolas Duciaume , 

How about writing app with the REST end point which will expose needful info?

Then you don't need impersonate, you can just use UserAccessor, ContentManager other interfaces

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,384 views 7 29
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you