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 StringSHADOW_USER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclearShadowUser(javax.servlet.http.HttpSession session)static UsergetShadowUser(javax.servlet.http.HttpSession session)static booleanisCurrentUserCanRead(ContentContext ctx, StaticInfo info)static voidstoreShadowUser(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)
-
-