Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Selector Architecture Harmonization Demo

{{#eclipseproject:technology.higgins|eclipse_custom_style.css}} This page describes how to install and test the Cocoa IdentitySelector that supports REST CardSync (see Selector Architecture Harmonization).

What you need:

  • IdentitySelector-0.5.21729.dmg from Andrew Hodgkinson
  • A Mac

Step 1: Create Account

You have to create an account on rh155.azigo.net. This is where Alexander deployed the CardSync RPPS.

You can try to do that with your Windows Air ICM:

  1. Click on the Azigo systray icon to start the Windows Air ICM
  2. If it asks you to sign in, do that with your current Azigo username / password
  3. Click My Account -> Settings, click the "Advanced" tab
  4. Change the "Service Endpoint" setting to http://rh155.azigo.net/cardsync-rpps/services/RPPSServiceAIRICM?WSDL
  5. Click the "General" tab. Click "Create New" and try creating an account

If you get an error, this may be because your Windows Air ICM speaks a different RPPS version than the one deployed on rh155. In that case do one of the following:

  • Ask Alex or Markus to create an account on rh155 for you
  • Or just use Markus' demo account username=markus, password=azigo

If you got an account in one of these alternative ways, you should still be able to sign in to the Windows Air ICM with the new account.

The rest of this page assumes that your username is markus, and your password is azigo.

Step 2: Test Account with Windows Air ICM (optional)

Simply click on the Azigo systray icon and check if you can see / create p-cards in your new rh155 account.

Step 3: Test Account with ICM Web Application (optional)

Try to access your account with the ICM web application by going to this URL: https://rh155.azigo.net/icm/logon.do?login=markus&password=azigo

Step 4: Test Account with iPhone (optional)

If you have the iPhone Selector, enter this in the Preferences menu:

Username: markus
Password: azigo
Card Service: http://rh155.azigo.net/cardsync-rpps/services/RPPSService

This should make both the ICM and ICS work.

Step 5: Test Account with Cocoa IdentitySelector

Go to your Mac. Doubleclick Andrew's IdentitySelector-0.5.21729.dmg file to open it.

Drag&drop the IdentitySelector to the Applications folder to install it. Doubleclick the IdentitySelector application to start it. It will say "Error loading cards". Close it (press CMD+Q).

Now you have to manually edit the configuration file. If your Mac username is "markus", the location of the file should be:

/Users/markus/.ftk/settings/99813511-DE1E-476F-A790-5D27B0F8A4C2/settings.xml

The file must contain the following (fill in your actual rh155 username and password):

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Settings>
<Section Id="CARDS">
       <Setting Name="STORE.TYPE"  Data="urn:org:eclipse:higgins:cardstore:type:hcsp"/>
       <Setting Name="STORE.URI" Data="http://rh155.azigo.net/cardsync/rs"/>
       <Setting Name="STORE.USERNAME" Data="markus"/> <!-- your username goes  here -->
       <Setting Name="STORE.PASSWORD" Data="azigo"/> <!-- your password goes  here -->
</Section>
</Settings>

Doubleclick the IdentitySelector application to start it again. You should see your p-cards and you should be able to create new ones.

Step 6: Test CardSync

Try creating new p-cards in the Windows Air ICM and in the Cocoa IdentitySelector, and see if they show up correctly in the respective other application.

Step 7: DigitalMe Firefox plugin

Start Firefox on the Mac. Disable the Azigo Connector plugin (go to Tools -> Add-On). Install the DigitalMe plugin from http://code.bandit-project.org/downloads/DigitalMe/firefox/digitalme-firefox-0.5.2530.xpi

Configure the DigitalMe plugin manually (go to Tools -> Add-On -> Preferences). Set "Identity Selector Executable Path" to:

/Applications/IdentitySelector.app/Contents/MacOS/IdentitySelector

Go to some RP with Firefox (e.g. http://xmldap.org/relyingparty). The Cocoa IdentitySelector should show up and ask you to choose a card.

Step 8: M-cards

... TODO ...

Original instructions

Here are the original instructions from Alex:

Please, use the following server settings for testing.
* AIR Selector and GWT ICM should use:
       Rpps Host - https://rh155.azigo.net
       Rpps URL - /cardsync-rpps/services/RPPSService?WSDL
       ICM URL - https://rh155.azigo.net/icm

* AIR  ICM should use:
       Rpps Host - https://rh155.azigo.net
       Rpps URL - /cardsync-rpps/services/RPPSServiceAIRICM?WSDL

* CardSync Rest client should use: http://rh155.azigo.net/cardsync-rpps/rs/

Here are the original instructions from Andrew:

Configuration is a little clunky ... you will need to manually edit the settings.xml file to use a CardSync server by adding:

<Section Id="CARDS">
       <Setting Name="STORE.TYPE" Data="urn:org:eclipse:higgins:cardstore:type:hcsp"/>
       <Setting Name="STORE.URI" Data="http://rh155.azigo.net/cardsync/rs"/>
       <Setting Name="STORE.USERNAME" Data="digitalme"/> <!-- your username goes here -->
       <Setting Name="STORE.PASSWORD" Data="test1234"/> <!-- your password goes here -->
</Section>

The settings.xml file is found under your home directory (in my case it is /Users/ahodgkinson/.ftk/settings/99813511-DE1E-476F-A790-5D27B0F8A4C2/settings.xml ... substitute your user name in the path for the correct location) and is created the first time you run the selector.  By default, the selector uses a file-system-based card store.

Note that the 'Section' element should be subordinate to the 'Settings' element in the settings.xml file.  Also, I've been using 'http' rather than 'https' because rh155.azigo.net does not send the intermediate certificates needed to validate the host certificate.  I could import them into my certificate store, but it would be better if the server sent them.

Back to the top