Jean Paul's Blog

There are 2 types of People in the World, One who Likes SharePoint and..

  • Microsoft MVP

  • MindCracker MVP

  • CodeProject MVP

  • eBook on SharePoint 2010

  • eBook on Design Patterns

  • eBook on Windows Azure

  • NLayers Framework @ CodePlex

  • MSDN Forums

  • .Net vs. Java

    Due to Public Demand

Posts Tagged ‘portal’

Windows Azure – AppFabric Access Control Service Portal

Posted by JP on December 31, 2011

As part of the Access Control Service, we are performing the following in this article.

  • Create new Namespace
  • Using the Access Control Service Portal
  • Create new Identity Provider
  • Create new Rule Group

Creating the Namespace

For creating the namespace, sign in to the Windows Azure Management Portal. Open the Service Bus, Access Control & Caching item as shown below. (You can also use the previous namespace if it exists)

clip_image002

In the appearing window select the Access Control item from the left pane.

clip_image004

In the appearing dialog enter the required details. Please ensure the namespace is unique.

clip_image006

After entering the details click on the Create Namespace button to create the namespace. Wait for a few minutes and you will be ready with the new namespace Active as shown below.

clip_image008

The namespace accesscontrol2011 can be used in our next Access Control article involving programming.

Using the Access Control Service Portal

You can open the Access Control Service Portal by selecting the namespace and clicking on the Access Control Service button from the header panel as shown below.

clip_image010

(You can also access it using the url https://namespace.accesscontrol.windows.net)

On clicking the button we will get the window shown below:

clip_image012

We can configure the Identity Providers using the link on left. There is a default created Windows Live ID item inside it.

clip_image014

Create new Identity Provider

Now we can add a new identity provider Google. Click on the Add button to continue. The following page appears.

clip_image016

Select the option Google and click Next to continue.

clip_image018

Leave the default options and click Save to create the provider.

We can configure the Relying party applications using the link on left. There are no default entries inside it.

clip_image020

Now you can see the new identity provider in the list as shown below.

clip_image022

Create new Rule Group

Now we have to create a new rule group for our application. At least one rule group is needed for getting valid token from ACS.

Click on the Rule Groups item from the left pane and you will see the following screen.

clip_image024

Click on the Add button from the above screen.

clip_image026

In the above screen enter a name for the rule group and click the Save button and you will be getting the following screen.

clip_image028

Click on the Generate button to generate the rules automatically. The following screen will appear.

clip_image030

Select (check) the items Google and Windows Live ID and click the Generate button. You will get the following screen.

clip_image032

Check all the items as shown above and click the Save button. Your rule group will be created in the list as shown below.

Summary

In this article we have seen creation of namespace, adding identity providers and rule groups using the Access Control Service Portal. In the next article we can create a web role and test the providers.

Advertisements

Posted in C# | Tagged: , , , | Leave a Comment »

Windows Azure – Adding Certificate in Portal

Posted by JP on November 13, 2011

Certificates are required to for authentication in a much secured way. In Windows Azure portal we can create certificates.

In this tutorial we are following the steps to create a certificate which will be used in the next article.

The activities involved are:

  • Create the certificate
  • Upload certificate to portal

Open the Visual Studio command prompt as administrator.

clip_image002

On the command prompt, enter the following command to create certificate named MyCertificate.cer.

makecert -sky exchange -r -n “CN=MyCertificate” -pe -a sha1 -len 2048 -ss My “MyCertificate.cer”

clip_image004

If the reply is Succeeded you are ready with the certificate. Note the path where the certificate is created.

Now we need to upload the certificate to Windows Azure Portal. For this sign in to the portal and choose the Management Certificates item as shown below.

clip_image006

In the appearing screen below, click on the Add Certificate button

clip_image008

A new dialog will be appearing.

clip_image010

Locate the certificate file (MyCertificate.cer) using the Browse button above and click Ok.

Now within a few minutes the certificate will be added to the account. See the status below.

clip_image012

If you can see the new certificate item the adding of certification succeeded.


Summary

In this article we have seen how to create a certificate and add to windows azure portal. The certificate will be used in the next article for MMC tool.

Posted in C# | Tagged: , , , | Leave a Comment »