Package org.javlo.user
Class UserSecurity
- java.lang.Object
-
- org.javlo.user.UserSecurity
-
public class UserSecurity extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SHADOW_USER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
clearShadowUser(javax.servlet.http.HttpSession session)
static User
getShadowUser(javax.servlet.http.HttpSession session)
static boolean
isCurrentUserCanRead(ContentContext ctx, StaticInfo info)
static void
storeShadowUser(javax.servlet.http.HttpSession session)
-
-
-
Field Detail
-
SHADOW_USER
public static String SHADOW_USER
-
-
Method Detail
-
isCurrentUserCanRead
public static boolean isCurrentUserCanRead(ContentContext ctx, StaticInfo info)
-
storeShadowUser
public static void storeShadowUser(javax.servlet.http.HttpSession session)
-
getShadowUser
public static User getShadowUser(javax.servlet.http.HttpSession session)
-
clearShadowUser
public static void clearShadowUser(javax.servlet.http.HttpSession session)
-
-