Can we make an application where it is not necessary to register previously the device in the server with theXOneManager?
YES, a replica server with self-registration can be made.
This Self-registration could be managerial, in such way that the device when downloading the XOneLive specific for self-registration, it would check if it already has an associated license, in case not having it, the user is redirected to a web in order to be authenticated with a user-passwords table, LDAP, Web Service…
This page will register the license automatically for this device, and will start the application components download.
A XOneLive will be generated where it will be configured: - The address of the self-registration page. - The license number to a database level. |
---|
If you do not have these data, a XOneLive by default will not call to a self-registration page, and the device must be registered in the XOneManager in order to download all the necessary. |
In the database XOneManager in the adm_databases table the following changes will be made: |
---|
To create the AUTOREGISTER field in case it doesnt exist, of numeric type, and will have the following values:
In case the field is already created, it will be put with value 1 to enable this functionality.
The Self-registering web page will be published in the IIS and the following data will be configured in the web.config file. | |
Data | |
---|---|
RplNumeroLic: license number to database level where we want to make self-registering. | |
RplServerlic: license number of the server. | |
RplServerAddr: address where the replica server is installed in. | |
RplServerPort: replica port. | |
The following connection to the database will be configured: - Connection to the XOneManager database. - Connection to the Application database. |
<?xml version="1.0"?> <configuration> <appSettings> <add key="RplNumeroLic" value="00000XXX"/> <add key="RplServerLic" value="cad3ac31a62340e1b82b61b2256acd1c"/> <add key="RplServerAddr" value="101.101.101.4"/> <add key="RplServerPort" value="7757"/> </appSettings> <connectionStrings> <add name="XoneConnectionString" connectionString="Data Source=servidor;Initial Cata-log=xonemanager;User ID=user;Password=clave" providerName="System.Data.SqlClient" /> <add name="xonemanagerCnnStr" connectionString="Data Source=servidor;Initial Cata-log=xonemanager;User ID=user;Password=clave" providerName="System.Data.SqlClient" /> <add name="00000XXX" connectionString="server=SERVIDOR;User Id=user;password=clave;Persist Security Info=True;database=basedatos" provider-Name="MySql.Data.MySqlClient" /> </connectionStrings> <system.web> <authentication mode="None"/> </system.web> <system.webServer> <modules runAllManagedModulesForAllRequests="true"/> </system.webServer> </configuration>
Once the server and the XOneLive have been configured, we are going to explain the self-registering process: |
---|
As indicated, this is by default, but the Web page can be programmed to make the authentication over other systemsm, such as: |
---|
We have to keep in mind that the licenses are related directly through an user-license relationship, and from this relationship the selectivity is made. For this, if we modify the Self-registration page, it would be necessary to make this relationship in the page.
Once the authentication process is made in the system by the user with whatever device, the Self-registration page will make the following actions. |
---|