Run Security Configuration Application in Debug mode: 
  1. Open Web.Config under EdFi.Ods.SecurityConfiguration.Administration.Web project.  Change the connection string to point to the database  EdFi_Ods_Sandbox_populatedSandbox.  This is the database we will be using for this session. 
<add name="EdFi_ODS_YYYY" connectionString="Database=EdFi_Ods_Sandbox_populatedSandbox; Data Source=(local); Trusted_Connection=True;" providerName="System.Data.SqlClient" />

2.  Create a folder smtp under c:\temp folder. 

3.   Right click on the SecurityConfigurationTool project, under Debug, select new instance. 

  1. Add a Vendor:

    a.  Click on Add Vendor

    b.  Enter appropriate information and click Create.  

    c.  You will see a message saying that Vendor is successfully created.

  2. Edit a Vendor: 

    You can edit by clicking on the Edit (Pencil) icon, change the information and click Apply to save the information 

    3. Delete a Vendor:  

    You can delete a vendor by clicking on the X

Manage Applications:

Add Application

  1. To add an application click on the icon with 4 lines.  




At this point the new application is created with a new key and new secret.  It won't be shown on the UI, but when you check the edfi_Admin.ApiClients table, you will see a entry with a new key and secret for the application id

3. Generate Key and Secret:

Generate a key for the application by clicking on the key icon.  Make sure you have the smtp folder under c:\temp directory.  An activation code will pop up on the screen and the code needs to be given to the Vendor for them to activate the key.  For this lab, close the browser window and re-run the SecurityConfigurationApplication in debug mode again. You should see the key populated on the page. 

4.  The email is saved in the c:\smtp folder.  Copy the email and paste in your local c:\temp\smtp and open the email if you have an email client.  You should have a link like the following

Copy the activation url and go into your VM browser and paste it and it should show up the key retrieval tool.  Type in the activation code.  You should have activated your key and successfully generated a key.  

4.  Log files are stored in C:\temp\SecurityConfigurationTools

  • No labels