Shailene Woodley had only kind words for the man who inspired her on-screen love interest in the upcoming Oliver Stone drama about Edward Snowden.

The "Insurgent" star is set to play the National Security Agency whistleblower's girlfriend Lindsay Mills and said he should be celebrated for his work.

"I define a hero as somebody, who against the judgement of other people, if they believe something will positively impact the world and they chose to do it and honor their integrity. That's what I sort of consider a hero, no matter how big or small a feat they create," Woodley told E! News. "And in that light, absolutely I think Edward Snowden is a hero."

Woodley hasn't met Snowden but said she would like to. He has been living in Moscow seeking asylum since 2013 and is facing espionage charges in the United States for leaking classified information to the press.

"You are the epitome of the word selfless," Woodley said of Snowden. "You did something knowing you wouldn't be able to come home, knowing that your country would have very mixed feelings and yet your integrity on what you believe was right or wrong or should be public knowledge was more important to you than almost your own comfortability and the life that you had lived for so long. So I would like say thank you to him."

Joseph Gordon-Levitt will star as Snowden and the rest of the cast includes Nicolas Cage, Zachary Quinto and Scott Eastwood.

WATCH: Break Time: Conrad Hilton faces the consequences