Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [geclipse-dev] Gria Information Gathered

Hi Mark,

> I think the only file needing any special attention is
crypto.properties, 
> no plugins need loaded for basic functionality.

I absolutely agree at least for the moment. The crypto.properties seems
to be the part that is causing my headache.

> Perhaps, this could be generated when the Grid Project is
instantiated, 
> the information needed is the location of the keystore on the machine,
and > the password.

In fact I already had a first approach with such a workaround. It is
slightly different from your idea. The keystore and the
crypto.properties are created when you create a "GRIA Key Store"
authentication token (already part of eu.geclipse.gria). Therefore go to
the authentication token view and create a new token. From the token
creation wizard choose "GRIA Key Store" and press "Next". Enter the path
to your keystore and its passphrase. Press "Finish". What happens now is
that the keystore file itself is copied to
"*YOUR_RUNTIME_WORKSPACE*/.metadata/.plugins/eu.geclipse.gria" and the
crypto.properties is created in the same directory. The code for that
can be found in eu.geclipse.gria.auth.GriaKeyStoreDescription.

This code has to be seen as preliminary and highly experimental and
maybe will never make it into a release. Nevertheless for me it makes
more sense to create these files as part of a GRIA authentication token
because it is about authentication, right? But maybe it is a first point
for you to start with implementing a workaround. For me this workaround
did not really work but I had not the time to go into deep details here.
Maybe you could have a closer look to it?

Cheers, Mathias


Back to the top