Site Manager Developer Manual / Version 2107
Table Of ContentsYou can shorten the login time if you predefine the user name, password and domain of the user. The login window of the Site Manager is automatically filled with these data. You can even skip this window completely, so that the user will login immediately.
Note
Not mandatory: By default, the user set in the environment of the computer will be used.
Caution
Configure in one of the following files:
editor.properties
editor-startup.xml
The settings of editor.properties
will be overwritten by the
editor-startup.xml
settings.
Predefine login data
editing.properties
In the
editor.properties
file use the following properties:
Enter the name of the user into the
login.username
property.Enter the password of the user into the
login.password
property.Enter the domain of the user into the
login.domain
property.For immediate login enter "true" into the
login.immediate
property.
editor-startup.xml
In the
editor-startup.xml
file use the following properties:
Enter the name of the user into the attribute
loginName
of the<Editor>
element.Enter the password of the user into the attribute
loginPassword
of the<Editor>
element.Enter the domain of the user into the attribute
loginDomain
of the<Editor>
element.For immediate login enter "true" into the attribute
loginImmediate
of the<Editor>
element.
The <Editor> element has more attributes that can be used. They are shown in the following table:
Attribute | Description |
---|---|
class | This attribute is used to enter the editor class to use. Default is
hox.corem.editor.generic.GenericEditor.
|
loginName | This attribute is used to enter the default name for login. If no name is
entered, the name from the environment is used. You can always change the name during
login, it is just a preset. If a login name should be predefined, it must be set in
the editor-startup.xml file. If a global editor.xml file is
used for all users it might be sensible to set the login name in the
editor.properties
file.
|
loginPassword | This attribute is used to enter the default password for login. If no password
is entered, the login name is used. You can always change the password during login,
it is just a preset. If a login password should be predefined, it must be set in the
editor-startup.xml file. If a global editor.xml file is
used for all users it might be sensible to set the login password in the
editor.properties
file.
|
loginDomain | This attribute is used to enter the default domain for login. You can always
change the domain during login, it is just a preset. If a login domain should be
predefined, it must be set in the editor-startup.xml file.
|
loginImmediate | If this attribute is set to "true", an attempt is made to connect directly to the server with the login data given above. The login window does not appear. The default value is "false". |
showCurrentUser | If this attribute is set to "true", the name of the current user of the editor is shown at the top of the window. Default is "false", that is, the user name is not shown. |
startup | This attribute defines the Site Manager window to start with. Possible values are "OpenExplorer" "OpenQuery", "OpenWorkflow", "OpenUserManager" which will open the respective window. As default, the Site Manager starts with the explorer window ("normal" user) or with the user manager window ("administrator" user). |
startupMode |
This attribute defines the start-up mode for administrators. If set to "4.2", the super user with ID "0" always starts with the User Manager window. All other users will start with the window defined using "startup". If set to "5.0" the super user with ID "0" and all members of the administration group start with the User Manager window. All other users will start with the window defined using "startup". Default setting is "5.0". |
Table 3.1. Some attributes of the element Editor