Class 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 Detail

      • CMSLoggedOutGuard

        public CMSLoggedOutGuard()
    • Method Detail

      • getDesiredResult

        protected boolean getDesiredResult()
        Description copied from class: SessionFlagPresentGuard
        If 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:
        getDesiredResult in class SessionFlagPresentGuard