public final class RegUserInfo extends Object implements IRegUserInfo
Constructor and Description |
---|
RegUserInfo(String name,
String descr,
String password,
boolean passwordAuthAllowed,
boolean sysAuthAllowed,
String sysUserName)
Cluster administrator description constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getDescr()
Gets the description of the central server administrator or
server cluster administrator
|
String |
getName()
Gets the name of the central server administrator or server
cluster administrator
|
String |
getPassword()
Gets the administrator password
|
String |
getSysUserName()
Gets the operating system user name of the server cluster administrator
|
boolean |
isPasswordAuthAllowed()
Gets the flag that shows whether password authentication is allowed
for the administrator
|
boolean |
isSysAuthAllowed()
Gets the flag that shows whether operating system authentication is
allowed for the administrator
|
void |
setDescr(String description)
Sets the description of the central server administrator or
server cluster administrator
|
void |
setName(String name)
Sets the name of the central server administrator or server
cluster administrator
|
void |
setPassword(String pwd)
Sets the administrator password
|
void |
setPasswordAuthAllowed(boolean value)
Sets the flag that shows whether password authentication is allowed
for the administrator
|
void |
setSysAuthAllowed(boolean value)
Sets the flag that shows whether operating system authentication is
allowed for the administrator
|
void |
setSysUserName(String name)
Sets the operating system user name of the server cluster administrator
|
String |
toString() |
public RegUserInfo(String name, String descr, String password, boolean passwordAuthAllowed, boolean sysAuthAllowed, String sysUserName)
name
- administrator namedescr
- administrator descriptionpassword
- administrator passwordpasswordAuthAllowed
- flag that shows whether password authentication is allowedsysAuthAllowed
- flag that shows whether operating system authentication is allowedsysUserName
- operating system user namepublic String getName()
IRegUserInfo
getName
in interface IRegUserInfo
public void setName(String name)
IRegUserInfo
setName
in interface IRegUserInfo
name
- administrator namepublic String getDescr()
IRegUserInfo
getDescr
in interface IRegUserInfo
public void setDescr(String description)
IRegUserInfo
setDescr
in interface IRegUserInfo
description
- descriptionpublic String getPassword()
IRegUserInfo
getPassword
in interface IRegUserInfo
public void setPassword(String pwd)
IRegUserInfo
setPassword
in interface IRegUserInfo
pwd
- passwordpublic boolean isPasswordAuthAllowed()
IRegUserInfo
isPasswordAuthAllowed
in interface IRegUserInfo
public void setPasswordAuthAllowed(boolean value)
IRegUserInfo
setPasswordAuthAllowed
in interface IRegUserInfo
value
- flag that shows whether password authentication is allowed
for the administrator (true - if password authentication is
allowed, otherwise - false)public boolean isSysAuthAllowed()
IRegUserInfo
isSysAuthAllowed
in interface IRegUserInfo
public void setSysAuthAllowed(boolean value)
IRegUserInfo
setSysAuthAllowed
in interface IRegUserInfo
value
- flag that shows whether operating system
authentication is allowed for the administrator (true - if
operating system authentication is allowed, otherwise - false)public String getSysUserName()
IRegUserInfo
getSysUserName
in interface IRegUserInfo
public void setSysUserName(String name)
IRegUserInfo
setSysUserName
in interface IRegUserInfo
name
- operating system user nameCopyright © '1C' 1996-2012