Package org.opencms.ui.login
Class CmsLoginHelper.LoginParameters
java.lang.Object
org.opencms.ui.login.CmsLoginHelper.LoginParameters
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CmsLoginHelper
Holds the current login parameters.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the authorization token.Returns the locale.getOufqn()
Returns the ou fqn.Returns the pc type.Returns the requested resource.Returns the user name.boolean
isLogout()
Returns if a logout is requested.boolean
Returns whether the pc type is private.boolean
isReset()
Returns true if we are in 'reset password' mode.
-
Constructor Details
-
LoginParameters
public LoginParameters(String username, String pcType, String oufqn, String requestedResource, Locale locale, String authToken, boolean logout, boolean reset) Constructor.- Parameters:
username
- the user namepcType
- the pc typeoufqn
- the ou fqnrequestedResource
- the requested resourcelocale
- the localeauthToken
- the authorization tokenlogout
- the logout flagreset
- flag to indicate whether we are in 'reset password' mode
-
-
Method Details
-
getAuthToken
Gets the authorization token.- Returns:
- the authorization token
-
getLocale
Returns the locale.- Returns:
- the locale
-
getOufqn
Returns the ou fqn.- Returns:
- the ou fqn
-
getPcType
Returns the pc type.- Returns:
- the pc type
-
getRequestedResource
Returns the requested resource.- Returns:
- the requested resource
-
getUsername
Returns the user name.- Returns:
- the user name
-
isLogout
Returns if a logout is requested.- Returns:
- the logout flag
-
isPrivatePc
Returns whether the pc type is private.- Returns:
true
if the pc type is private
-
isReset
Returns true if we are in 'reset password' mode.- Returns:
- true in reset mode, false otherwise
-