Online Tutorials & Training Materials | STechies.com
Register Login

Configure the Seeding file (afariaseed.xml) for Afaria client on Android devices.

|| || 1

Configure the Seeding file (afariaseed.xml) for Afaria client on Android devices.
Stechies

Hello Experts,

May I know that how can I configure the seeding file (afariaseed.xml) for Afaria client on Android devices to avoid reprompt? 

Kindly share your views.

Thanks in advance.


Comments

  • 18 Mar 2016 5:53 pm

    Use the following examples for the afariaseed.xml files to avoid reprompt for credentials:

    Example 1: 

    This afariaseed.xml doesn't seed the username in this example. The Afaria client connects and reports an error message because of the missing credentials. Afterwards the pop-up for credentials is displayed. After entering the correct credentials the credentials doesn't pop-up again.

    <?xml version="1.0" encoding="UTF-8"?>
    <AfariaSeedData>
     <serverChannel></serverChannel>
     <relayServerPrefix>/ias_relay_server/client/rs_client.dll</relayServerPrefix>
     <relayServerFarmID>"vs-afaria-farm1"</relayServerFarmID>
     <serverName>""</serverName>
     <serverIP>"http://test.com"</serverIP>
     <mbdPrefix>""</mbdPrefix>
     <mbdType>"-1"</mbdType>
     <mbdDnv>""</mbdDnv>
     <tenantID>"3xxx:0"</tenantID>
     <connectAfterInstall>"1"</connectAfterInstall>
     <username>""</username>
     <promptForPassword>"0"</promptForPassword>
     <makekitGUID>""</makekitGUID>
     <deviceGroups>""</deviceGroups>
    </AfariaSeedData>

    Example 2: 

    In this example the username is seeded but the credentials pop-up with the username and empty password. After entering the password the credentials doesn't pop-up again.

    <?xml version="1.0" encoding="UTF-8"?>
     <AfariaSeedData>
     <serverChannel></serverChannel>
     <relayServerPrefix>/ias_relay_server/client/rs_client.dll</relayServerPrefix>
     <relayServerFarmID>"vs-afaria-farm1"</relayServerFarmID>
     <serverName>""</serverName>
     <serverIP>"http://test.com"</serverIP>
     <mbdPrefix>""</mbdPrefix>
     <mbdType>"-1"</mbdType>
     <mbdDnv>""</mbdDnv>
     <tenantID>"3xxx:0"</tenantID>
     <connectAfterInstall>"1"</connectAfterInstall>
     <username>"testuser"</username>
     <promptForPassword>"1"</promptForPassword>
     <makekitGUID>""</makekitGUID>
     <deviceGroups>""</deviceGroups>
     </AfariaSeedData>

     

Related Articles