Personal tools
You are here: Home GRIA Documentation Documentation 5.3 Tutorials Try Using GRIA with Our Demo Servers Federated Domain Deployment

Federated Domain Deployment

Deploying the client management package locally allows you to manage your remote resources centrally.
In order that you can evaluate GRIA and the ideas behind it quickly, IT Innovation has set up demonstration systems with the basic application services and service provider management packages installed. In this tutorial we will use the GRIA client software to access these services.
Page 5 of 6.

This part of the tutorial demonstrates the Federated Domain Deployment scenario:

federated-deployment

In the Federated-Domain Deployment scenario Client Organisation wants to control access for large numbers of users accessing services of a Service Provider managed by certain Service Level Agreements (SLAs). GRIA Client Management package allows to split all users at the Client Organisation into groups and assign SLAs to groups instead of each user individually.

You should install the client management package locally. To do this follow these steps:

  1. Download the GRIA Client Management package from the downloads page.
  2. Follow the Client Management Service installation instructions.
  3. When configuring the Service make yourself a manager by adding both yours and the Certificate Authority (CA) certificates to the manager role rule. If your keystore was generated by the GRIA Client then these two will be the same (your certificate is self-signed and you are your own CA):
    self-signed-policy
  4. To export your certificate from the Client-generated keystore:
    export-cert
    Make sure to export Head Certificate that is PEM Encoded:
    keystore-encodings
    Click OK. Save the certificate as my-cert.crt on your computer. Use this file when setting the manager role.
  5. Read GRIA Demo CA Certificate Policy and download GRIA Demo CA Certificate. By downloading the certificate you confirm that you agree to the terms of the GRIA Demo CA Certificate Policy.
  6. Using Keytool GUI import the GRIA Demo CA certificate you just downloaded into the server keystore of your Client Management Service:
    import-ca-cert
  7. Click OK in all appearing dialog boxes and Yes when asked to confirm the certificate as trusted:
    ca-cert-details
  8. Save the keystore when finished and restart your server:
    save-keystore

You are now ready to use the Client Membership Service to control access to Basic Application Services managed by SLA Service on graidemo2:

  1. Add the Membership Service either by dragging its WSDL link into the Client:
    managed-to-client
  2. or by specifying the URL directly by going to Services menu and then Add a Service:
  3. services-add-service
    enter-wsdl
  4. Create new membership groups using the GRIA client, by right-clicking on the MembershipService and choosing Create group from the menu:
    create-group
  5. Add Basic Application Service, SLA and Trade Account Service into the Client (if they are not already there) using these links:
    bas-spm-cmgt
  6. Drag the SLA you created on the griademo2 service to a group to give all members of the group access to the resource:
    drag-sla-group-arrow
  7. You will be prompted to select the role they should be given, choose "user":
    choose-process-role
  8. When you do this, the access policy on the SLA is updated so that anyone with a token from the membership group has the specified role:
    sla-added-group
  9. Add another user in your organisation to the membership group, using the Access Control tab:
    group-add-user
    You can use the Client to create a new keystore with the other user's identity in it as described in the second section. Export the other user's certificate (see above) and use it to add that user to the Group 1 as member.
  10. The other user can now add the membership service to their client and discover the group. Then should choose Set as default group from the menu. Every message they send will now include a SAML token asserting their membership of this group:
    set-default-group
  11. This user should then be able to discover and use the SLA, and use it to store data and run jobs according to the SLA, as before.

You can also use the registry service to keep track of remote resources, so that users don't have to add each service to their client manually.

See the client management package's documentation for more information about using these services.