This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I been doing some experiments with the java's security infrastructure. Can anyone tell me where to find good resources related to this..Like accesscontrol , previleges , policy etc.
I more question in specific. I got the following from the javadoc 1.4 of interface PrivilegedAction.
public Object run() Performs the computation. This method will be called by AccessController.doPrivileged after enabling privileges.
What does that enabling privileges means ? Can privileges be enabled even if when the securitymanager is not isntalled? And if the securityManages is enabled then what is the use of executing codes from within AccessController.doPrivileged()?Without AccessController.doPrivileged also permissions for the code would be checked.
I am sure I am missing something. Thanks in advance