[SAGA-RG] Context attributes

Ceriel Jacobs ceriel at cs.vu.nl
Fri Feb 20 09:41:01 CST 2009


Andre Merzky wrote:
> Hi Ceriel,
> 
> Quoting [Ceriel Jacobs] (Feb 06 2009):
>> Andre Merzky wrote:
>>
>>> Again: saga::context instance is not supposed to allow
>>> the user to create a credential on API level, or to
>>> manage it, etc - it is solely supposed to _point_ to an
>>> existing credential, and to deliver additional
>>> information about it, if available (such as lifetime).
>>>
>>> So, there is no reason not to allow the implementation to
>>> attach additional information, or state attributes, or
>>> whatever to the context internally.  In fact, the
>>> implementation may need to do credential management - and
>>> these actions are not expressed at API level at all.
>> There recently was an issue with the JavaGAT
>> implementation, see
>> https://mail.cct.lsu.edu/mailman/private/gat-devel/2008-December/001234.html,
>> where an application has a GSSCredential object and needs
>> to use that object for authentication to a GRAM.
>> Currently, there is no way in SAGA to deal with this
>> situation. A SAGA context extends SAGA attributes, and
>> attributes only deal with strings. So, I guess that even
>> allowing only string-string attributes in the API can
>> already be a problem.
> 
> Can't the JavaSAGA implementation recreate the same
> GSSCredential object within the adaptor?  

How would you do that? The application would have
to create a SAGA context for it? Can you create a
SAGA context from any GSSCredential and then
create a new GSSCredential for it with exactly the
same info?

Ceriel


More information about the saga-rg mailing list