Package org.opencms.ui.login
Class CmsLoginController.LoginContext
java.lang.Object
org.opencms.ui.login.CmsLoginController.LoginContext
- Enclosing class:
- CmsLoginController
The login context.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCms()
Gets the CmsObject.The second factor information for 2FA.getUser()
Gets the user to be logged in.void
Sets the CMS context.void
setSecondFactorInfo
(CmsSecondFactorInfo secondFactorInfo) Sets the second factor information for 2FA.void
Sets the user.toString()
-
Constructor Details
-
LoginContext
public LoginContext()
-
-
Method Details
-
getCms
Gets the CmsObject.- Returns:
- the CmsObject
-
getSecondFactorInfo
The second factor information for 2FA.- Returns:
- the second factor information
-
getUser
Gets the user to be logged in.- Returns:
- the user
-
setCms
Sets the CMS context.- Parameters:
cms
- the CMS context
-
setSecondFactorInfo
Sets the second factor information for 2FA.- Parameters:
secondFactorInfo
- the second factor information
-
setUser
Sets the user.- Parameters:
user
- the user
-
toString
-