Package net.anotheria.anosite.guard
Class CMSLogedInGuard
- java.lang.Object
-
- net.anotheria.anosite.guard.SessionFlagPresentGuard
-
- net.anotheria.anosite.guard.CMSLogedInGuard
-
- All Implemented Interfaces:
ConditionalGuard
- Direct Known Subclasses:
CMSLoggedOutGuard
public class CMSLogedInGuard extends SessionFlagPresentGuard
This conditional guard is only fulfilled if there is a currentUserId attribute in the session indicating that there is a logged in user.- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description CMSLogedInGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetFlagName()Returns the name of the flag to look after.-
Methods inherited from class net.anotheria.anosite.guard.SessionFlagPresentGuard
getDesiredResult, isConditionFullfilled
-
-
-
-
Method Detail
-
getFlagName
protected String getFlagName()
Description copied from class:SessionFlagPresentGuardReturns the name of the flag to look after.- Specified by:
getFlagNamein classSessionFlagPresentGuard- Returns:
- flag name.
-
-