public final class SecurityProfile extends Object implements ISecurityProfile
Constructor and Description |
---|
SecurityProfile() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddInUseFullAccess()
Gets the value of the flag that shows whether using arbitrary add-ins is allowed
|
boolean |
getAllModulesExtension()
Gets the value of the flag that allows extension of all modules
|
boolean |
getComUseFullAccess()
Gets the value of the flag that shows whether using arbitrary COM objects is allowed
|
boolean |
getCryptographyAllowed()
Gets the value of the flag that allows cryptography functionality to work
|
String |
getDescr()
Gets external component description
|
boolean |
getExternalAppFullAccess()
Gets the value of the flag that shows whether using arbitrary applications is allowed
|
boolean |
getFileSystemFullAccess()
Gets the value of the flag that shows whether full access to the file system is allowed
|
boolean |
getInternetUseFullAccess()
Gets the value of the flag that shows whether using arbitrary Internet resources is allowed
|
String |
getModulesAvailableForExtension()
Gets list of modules available for extension
|
String |
getModulesNotAvailableForExtension()
Gets list of modules not available for extension
|
boolean |
getPrivilegedModeInSafeModeAllowed()
Gets the value of the flag that shows whether enabling privileged mode in safe mode is allowed
|
boolean |
getRightExtension()
Gets the value of the flag that allows every right extension
|
String |
getRightExtensionDefinitionRoles()
Gets list of extensible rights defining roles
|
boolean |
getSafeModeProfile()
Gets the value of the flag that shows whether using a script profile in safe mode is allowed
|
String |
getSPName()
Gets security profile name
|
boolean |
getUnsafeExternalModuleFullAccess()
Gets the value of the flag that shows whether using arbitrary unsafe external modules is allowed
|
void |
setAddInUseFullAccess(boolean access)
Sets the value of the flag that shows whether using arbitrary add-ins is allowed
|
void |
setAllModulesExtension(boolean allowed)
Sets the value of the flag that allows extension of all modules
|
void |
setComUseFullAccess(boolean access)
Sets the value of the flag that shows whether using arbitrary COM objects is allowed
|
void |
setCryptographyAllowed(boolean allowed)
Sets the value of the flag that allows cryptography functionality to work
|
void |
setDescr(String descr)
Sets external component description
|
void |
setExternalAppFullAccess(boolean access)
Sets the value of the flag that shows whether using arbitrary applications is allowed
|
void |
setFileSystemFullAccess(boolean access)
Sets the value of the flag that shows whether full access to the file system is allowed
|
void |
setInternetUseFullAccess(boolean access)
Sets the value of the flag that shows whether using arbitrary Internet resources is allowed
|
void |
setModulesAvailableForExtension(String modules)
Sets list of modules available for extension
|
void |
setModulesNotAvailableForExtension(String modules)
Sets list of modules not available for extension
|
void |
setPrivilegedModeInSafeModeAllowed(boolean flag)
Sets the value of the flag that shows whether enabling privileged mode in safe mode is allowed
|
void |
setRightExtension(boolean allowed)
Sets the value of the flag that allows every right extension
|
void |
setRightExtensionDefinitionRoles(String roles)
Sets list of extensible rights defining roles
|
void |
setSafeModeProfile(boolean flag)
Sets the value of the flag that shows whether using a script profile in safe mode is allowed
|
void |
setSPName(String spName)
Sets security profile name
|
void |
setUnsafeExternalModuleFullAccess(boolean access)
Sets the value of the flag that shows whether using arbitrary unsafe external modules is allowed
|
String |
toString() |
public String getSPName()
ISecurityProfile
getSPName
in interface ISecurityProfile
public void setSPName(String spName)
ISecurityProfile
setSPName
in interface ISecurityProfile
spName
- security profile namepublic String getDescr()
ISecurityProfile
getDescr
in interface ISecurityProfile
public void setDescr(String descr)
ISecurityProfile
setDescr
in interface ISecurityProfile
descr
- external component descriptionpublic boolean getFileSystemFullAccess()
ISecurityProfile
getFileSystemFullAccess
in interface ISecurityProfile
public void setFileSystemFullAccess(boolean access)
ISecurityProfile
setFileSystemFullAccess
in interface ISecurityProfile
access
- value of the flag that shows whether full access to the file system is allowedpublic boolean getComUseFullAccess()
ISecurityProfile
getComUseFullAccess
in interface ISecurityProfile
public void setComUseFullAccess(boolean access)
ISecurityProfile
setComUseFullAccess
in interface ISecurityProfile
access
- flag that shows whether using arbitrary COM objects is allowedpublic boolean getAddInUseFullAccess()
ISecurityProfile
getAddInUseFullAccess
in interface ISecurityProfile
public void setAddInUseFullAccess(boolean access)
ISecurityProfile
setAddInUseFullAccess
in interface ISecurityProfile
access
- value of the flag that shows whether using arbitrary add-ins is allowedpublic boolean getExternalAppFullAccess()
ISecurityProfile
getExternalAppFullAccess
in interface ISecurityProfile
public void setExternalAppFullAccess(boolean access)
ISecurityProfile
setExternalAppFullAccess
in interface ISecurityProfile
access
- value of the flag that shows whether using arbitrary applications is allowedpublic boolean getInternetUseFullAccess()
ISecurityProfile
getInternetUseFullAccess
in interface ISecurityProfile
public void setInternetUseFullAccess(boolean access)
ISecurityProfile
setInternetUseFullAccess
in interface ISecurityProfile
access
- value of the flag that shows whether using arbitrary Internet resources is allowedpublic boolean getSafeModeProfile()
ISecurityProfile
getSafeModeProfile
in interface ISecurityProfile
public void setSafeModeProfile(boolean flag)
ISecurityProfile
setSafeModeProfile
in interface ISecurityProfile
flag
- value of the flag that shows whether using a script profile in safe mode is allowedpublic boolean getPrivilegedModeInSafeModeAllowed()
ISecurityProfile
getPrivilegedModeInSafeModeAllowed
in interface ISecurityProfile
public void setPrivilegedModeInSafeModeAllowed(boolean flag)
ISecurityProfile
setPrivilegedModeInSafeModeAllowed
in interface ISecurityProfile
flag
- value of the flag that shows whether enabling privileged mode in safe mode is allowedpublic boolean getUnsafeExternalModuleFullAccess()
ISecurityProfile
getUnsafeExternalModuleFullAccess
in interface ISecurityProfile
public void setUnsafeExternalModuleFullAccess(boolean access)
ISecurityProfile
setUnsafeExternalModuleFullAccess
in interface ISecurityProfile
access
- value of the flag that shows whether using arbitrary unsafe external modules is allowedpublic boolean getCryptographyAllowed()
ISecurityProfile
getCryptographyAllowed
in interface ISecurityProfile
public void setCryptographyAllowed(boolean allowed)
ISecurityProfile
setCryptographyAllowed
in interface ISecurityProfile
allowed
- value of the flag that allows cryptography functionality to workpublic boolean getRightExtension()
ISecurityProfile
getRightExtension
in interface ISecurityProfile
public void setRightExtension(boolean allowed)
ISecurityProfile
setRightExtension
in interface ISecurityProfile
allowed
- value of the flag that allows every right extensionpublic String getRightExtensionDefinitionRoles()
ISecurityProfile
getRightExtensionDefinitionRoles
in interface ISecurityProfile
public void setRightExtensionDefinitionRoles(String roles)
ISecurityProfile
setRightExtensionDefinitionRoles
in interface ISecurityProfile
roles
- list of extensible rights defining rolespublic boolean getAllModulesExtension()
ISecurityProfile
getAllModulesExtension
in interface ISecurityProfile
public void setAllModulesExtension(boolean allowed)
ISecurityProfile
setAllModulesExtension
in interface ISecurityProfile
allowed
- value of the flag that allows extension of all modulespublic String getModulesAvailableForExtension()
ISecurityProfile
getModulesAvailableForExtension
in interface ISecurityProfile
public void setModulesAvailableForExtension(String modules)
ISecurityProfile
setModulesAvailableForExtension
in interface ISecurityProfile
modules
- list of modules available for extensionpublic String getModulesNotAvailableForExtension()
ISecurityProfile
getModulesNotAvailableForExtension
in interface ISecurityProfile
public void setModulesNotAvailableForExtension(String modules)
ISecurityProfile
setModulesNotAvailableForExtension
in interface ISecurityProfile
modules
- list of modules not available for extensionCopyright © '1C' 1996-2012