Package com.seeq.model
Class UserInputV1
java.lang.Object
com.seeq.model.UserInputV1
UserInputV1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessKeyValidityDuration
(Long accessKeyValidityDuration) datasourceClass
(String datasourceClass) datasourceId
(String datasourceId) description
(String description) boolean
The duration, in minutes, to override the 'Authentication/AccessKey/ValidityWithoutUserLogin' configuration.The unique identifier of this user within the datasource.The class of the auth provider for this user.Along with the Datasource Class, the Datasource ID uniquely identifies a datasource.Clarifying information or other plain language description of this item.getEmail()
The email address of the userThe first name of the userWhether or not the user is an administrator.Whether the user is enabled or disabled.The last name of the userThe maximum allowed simultaneous requests for this user.getName()
Human readable name.The password of the user.The session duration, in minutes, to override the 'Authentication/DefaultSessionDuration' configuration.The username of the user.The workbench configuration of this user.int
hashCode()
maxRequests
(Long maxRequests) sessionDuration
(Long sessionDuration) void
setAccessKeyValidityDuration
(Long accessKeyValidityDuration) void
void
setDatasourceClass
(String datasourceClass) void
setDatasourceId
(String datasourceId) void
setDescription
(String description) void
void
setFirstName
(String firstName) void
setIsAdmin
(Boolean isAdmin) void
setIsEnabled
(Boolean isEnabled) void
setLastName
(String lastName) void
setMaxRequests
(Long maxRequests) void
void
setPassword
(String password) void
setSessionDuration
(Long sessionDuration) void
setUsername
(String username) void
setWorkbench
(String workbench) toString()
-
Constructor Details
-
UserInputV1
public UserInputV1()
-
-
Method Details
-
accessKeyValidityDuration
-
getAccessKeyValidityDuration
The duration, in minutes, to override the 'Authentication/AccessKey/ValidityWithoutUserLogin' configuration. After the last user activity, authentication is allowed with an access key for the period specified here. A value of 0 will effectively disable access keys for this user. A negative value removes the override, defaulting this user back to the system config.- Returns:
- accessKeyValidityDuration
-
setAccessKeyValidityDuration
-
dataId
-
getDataId
The unique identifier of this user within the datasource. Leave null to use the username as the Data ID.- Returns:
- dataId
-
setDataId
-
datasourceClass
-
getDatasourceClass
The class of the auth provider for this user. Leave null to use the Seeq datasource.- Returns:
- datasourceClass
-
setDatasourceClass
-
datasourceId
-
getDatasourceId
Along with the Datasource Class, the Datasource ID uniquely identifies a datasource. For example, a datasource may be a particular instance of an Active Directory. Leave null to use the Seeq datasource.- Returns:
- datasourceId
-
setDatasourceId
-
description
-
getDescription
Clarifying information or other plain language description of this item. An input of just whitespaces is equivalent to a null input.- Returns:
- description
-
setDescription
-
email
-
getEmail
The email address of the user- Returns:
-
setEmail
-
firstName
-
getFirstName
The first name of the user- Returns:
- firstName
-
setFirstName
-
isAdmin
-
getIsAdmin
Whether or not the user is an administrator.- Returns:
- isAdmin
-
setIsAdmin
-
isEnabled
-
getIsEnabled
Whether the user is enabled or disabled.- Returns:
- isEnabled
-
setIsEnabled
-
lastName
-
getLastName
The last name of the user- Returns:
- lastName
-
setLastName
-
maxRequests
-
getMaxRequests
The maximum allowed simultaneous requests for this user. Overrides the 'Threads/HttpServer/MaxRequestsPerUser' configuration. A negative value removes the override, defaulting this user back to the system config.- Returns:
- maxRequests
-
setMaxRequests
-
name
-
getName
Human readable name. Null or whitespace names are not permitted. Defaults to a concatenation of the first and last name- Returns:
- name
-
setName
-
password
-
getPassword
The password of the user. Required for users in the Seeq datasource.- Returns:
- password
-
setPassword
-
sessionDuration
-
getSessionDuration
The session duration, in minutes, to override the 'Authentication/DefaultSessionDuration' configuration. This controls the maximum period of inactivity before the user must authenticate again. A value of 0 indicates the user does not have a session duration, effectively meaning their session will never expire. A negative value removes the override, defaulting this user back to the system config.- Returns:
- sessionDuration
-
setSessionDuration
-
username
-
getUsername
The username of the user. Required for users from an external directory such as LDAP or Windows Authentication.- Returns:
- username
-
setUsername
-
workbench
-
getWorkbench
The workbench configuration of this user.- Returns:
- workbench
-
setWorkbench
-
equals
-
hashCode
public int hashCode() -
toString
-