|
Java™ by example!
|
|
|
What is the difference between doAs and doAsPrivileged?
Subject.doAs(subject, action) is equivalent to Subject.doAsPrivileged(subject, action, AccessController.getContext()). More information can be found here.
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|