|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PrivilegedExecutor
PrivilegedExecutor provides the ability to execute a PrivilegedAction or a PrivilegedExceptionAction. Implementors of this class, can chose to execute in normal mode or secure authenticated mode
| Method Summary | ||
|---|---|---|
|
execute(PrivilegedAction<T> action)
This method is used to execute a privileged action, the implementor can chose to execute the action using the appropriate privileges |
|
|
execute(PrivilegedExceptionAction<T> action)
This method is used to execute a privileged action, the implementor can chose to execute the action using the appropriate privileges |
|
| Method Detail |
|---|
<T> T execute(PrivilegedExceptionAction<T> action)
throws Exception
T - The return type of the actionaction - A PrivilegedExceptionAction to perform as the desired user
Exception<T> T execute(PrivilegedAction<T> action)
T - The return type of the actionaction - A PrivilegedAction to perform as the desired user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||