|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.security.Lock
public final class Lock
Used to lock a session or the system. Currently checked in the URISecurityFilter
. Should
only be used with care.
Method Summary | |
---|---|
static boolean |
isSessionLocked(javax.servlet.http.HttpServletRequest request)
Returns true if this session is locked. |
static boolean |
isSystemLocked()
Return true if system is locked. |
static void |
resetSessionLock(javax.servlet.http.HttpServletRequest request)
Reset session lock. |
static void |
resetSystemLock()
Reset system wide lock. |
static void |
setSessionLock(javax.servlet.http.HttpServletRequest request)
Set session based lock. |
static void |
setSystemLock()
Set system wide lock. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setSessionLock(javax.servlet.http.HttpServletRequest request)
request
- public static boolean isSessionLocked(javax.servlet.http.HttpServletRequest request)
request
-
public static void resetSessionLock(javax.servlet.http.HttpServletRequest request)
request
- public static void setSystemLock()
public static void resetSystemLock()
public static boolean isSystemLocked()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |