Class CmsLoginController.LoginContext

    • Method Detail

      • getCms

        public CmsObject getCms()
        Gets the CmsObject.
        Returns:
        the CmsObject
      • getUser

        public CmsUser getUser()
        Gets the user to be logged in.
        Returns:
        the user
      • setCms

        public void setCms​(CmsObject cms)
        Sets the CMS context.
        Parameters:
        cms - the CMS context
      • setSecondFactorInfo

        public void setSecondFactorInfo​(CmsSecondFactorInfo secondFactorInfo)
        Sets the second factor information for 2FA.
        Parameters:
        secondFactorInfo - the second factor information
      • setUser

        public void setUser​(CmsUser user)
        Sets the user.
        Parameters:
        user - the user
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()