Package net.anotheria.anosite.guard
Class CMSLoggedOutGuard
- java.lang.Object
-
- net.anotheria.anosite.guard.SessionFlagPresentGuard
-
- net.anotheria.anosite.guard.CMSLogedInGuard
-
- net.anotheria.anosite.guard.CMSLoggedOutGuard
-
- All Implemented Interfaces:
ConditionalGuard
public class CMSLoggedOutGuard extends CMSLogedInGuard
This conditional guard is only fulfilled if there is NO currentUserId attribute in the session indicating that there is NO logged in user.- Author:
- lrosenberg
-
-
Constructor Summary
Constructors Constructor Description CMSLoggedOutGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangetDesiredResult()If true the guard is fullfilled whenever the attribute with name = flagName is in session.-
Methods inherited from class net.anotheria.anosite.guard.CMSLogedInGuard
getFlagName
-
Methods inherited from class net.anotheria.anosite.guard.SessionFlagPresentGuard
isConditionFullfilled
-
-
-
-
Method Detail
-
getDesiredResult
protected boolean getDesiredResult()
Description copied from class:SessionFlagPresentGuardIf true the guard is fullfilled whenever the attribute with name = flagName is in session. If false the guard is fullfilled if the attribute with the name = flagName is NOT in session.- Overrides:
getDesiredResultin classSessionFlagPresentGuard
-
-