|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.jcr.authentication.JcrRestrictedOperation
public class JcrRestrictedOperation
Wrapper class to use restricted operations
| Constructor Summary | |
|---|---|
JcrRestrictedOperation(JsrUser user,
AdminWorkspace workspace)
|
|
| Method Summary | ||
|---|---|---|
|
doRestrictedOperation(java.security.PrivilegedAction<T> action)
Runs a PrivilegedAction by instantiation of a new Subject with _strLogin/_strPassword |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JcrRestrictedOperation(JsrUser user,
AdminWorkspace workspace)
user - the login to connectstrPassword - the passwordworkspace - | Method Detail |
|---|
public <T> T doRestrictedOperation(java.security.PrivilegedAction<T> action)
action - the PrivilegedAction to run
PrivilegedAction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||