|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Supported API: true
Extendable: false
Method Summary | |
boolean |
isAccessEnforced()
Returns true if access control was not reset through a 'setAccessEnforced (false)' call; returns false otherwise. |
WTUser |
refreshPrincipal()
Refreshes principal stored in the SessionContext cache. |
boolean |
setAccessEnforced(boolean enforce)
Suspends or resumes access control enforcement. |
Method Detail |
public boolean setAccessEnforced(boolean enforce)
This method can be used to
temporarily suspend access control enforcement using a try/finally
block, in which the enforcement is suspended in the try block and
restored in the finally block. The return value can be used to restore
the value to whatever it was before the enforcement was suspended.
Supported API: true
enforce
-
public boolean isAccessEnforced()
public WTUser refreshPrincipal() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |