public static class CmsLoginHelper.LoginParameters extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
LoginParameters(java.lang.String username,
java.lang.String pcType,
java.lang.String oufqn,
java.lang.String requestedResource,
java.util.Locale locale,
java.lang.String authToken,
boolean logout,
boolean reset)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthToken()
Gets the authorization token.
|
java.util.Locale |
getLocale()
Returns the locale.
|
java.lang.String |
getOufqn()
Returns the ou fqn.
|
java.lang.String |
getPcType()
Returns the pc type.
|
java.lang.String |
getRequestedResource()
Returns the requested resource.
|
java.lang.String |
getUsername()
Returns the user name.
|
boolean |
isLogout()
Returns if a logout is requested.
|
boolean |
isPrivatePc()
Returns whether the pc type is private.
|
boolean |
isReset()
Returns true if we are in 'reset password' mode.
|
public LoginParameters(java.lang.String username, java.lang.String pcType, java.lang.String oufqn, java.lang.String requestedResource, java.util.Locale locale, java.lang.String authToken, boolean logout, boolean reset)
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' modepublic java.lang.String getAuthToken()
public java.util.Locale getLocale()
public java.lang.String getOufqn()
public java.lang.String getPcType()
public java.lang.String getRequestedResource()
public java.lang.String getUsername()
public boolean isLogout()
public boolean isPrivatePc()
true
if the pc type is privatepublic boolean isReset()