Package org.opencms.ui.login
Class CmsLoginController.LoginContext
- java.lang.Object
-
- org.opencms.ui.login.CmsLoginController.LoginContext
-
- Enclosing class:
- CmsLoginController
public static class CmsLoginController.LoginContext extends java.lang.Object
The login context.
-
-
Constructor Summary
Constructors Constructor Description LoginContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CmsObject
getCms()
Gets the CmsObject.CmsSecondFactorInfo
getSecondFactorInfo()
The second factor information for 2FA.CmsUser
getUser()
Gets the user to be logged in.void
setCms(CmsObject cms)
Sets the CMS context.void
setSecondFactorInfo(CmsSecondFactorInfo secondFactorInfo)
Sets the second factor information for 2FA.void
setUser(CmsUser user)
Sets the user.java.lang.String
toString()
-
-
-
Constructor Detail
-
LoginContext
public LoginContext()
-
-
Method Detail
-
getSecondFactorInfo
public CmsSecondFactorInfo getSecondFactorInfo()
The second factor information for 2FA.- Returns:
- the second factor information
-
setSecondFactorInfo
public void setSecondFactorInfo(CmsSecondFactorInfo secondFactorInfo)
Sets the second factor information for 2FA.- Parameters:
secondFactorInfo
- the second factor information
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
- See Also:
Object.toString()
-
-