- Here is the 4.0.x link, the API has not changed:
http://www.globus.org/toolkit/docs/4.0/security/delegation/WS_AA_Delegation_
Service_Public_Interfaces.html#registerListener

- Delegation implies that you end up with a set of credentials that have the
user's identity and are able to perform an action on behalf of that user.
This means you have both a private and public key. This tells you how the
delegation service actually creates the delegated credential:
http://www.globus.org/toolkit/docs/4.0/security/delegation/developer-index.h
tml#id2531994. There are other protocols for delegation too.

- But a delegated credential does not mean a file! The delegation service
does not create a proxy file, it only has access to the client's delegated
credential. You will need to implement a listener to register with the
delegation service to obtain updates to the credential. If you need the
delegation credential to be written to a file, you will need to write that
code in your listener. It is done in GRAM by using sudo, so that the
delegated credential is written as a file with in the user account. There is
API in CoG JGlobus
(http://www.globus.org/toolkit/docs/4.0/contributions/javacog/)to be write
proxies/credentials to files. You should find examples in the GT GRAM code.

- The tutorial link I provided does have a power point file, but that is
just the talk that goes with the tutorial. You should be able to use the
tutorial itself, which has HTML documents and tar.gz of the source code. I
believe your platform should be able to process those correctly.

Rachana

> -----Original Message-----
> From: Herbert Rosmanith [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 15, 2007 4:29 PM
> To: Rachana Ananthakrishnan
> Cc: [email protected]
> Subject: Re: [gt-user] accessing delegated credentials in a WS
> 
> 
> > The service needs to create a listener object that implements the
> > org.globus.delegation.DelegationRefreshListener interface and register
> the
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> > static void registerDelegationListener(EndpointReferenceType epr,
> >             DelegationRefreshListener listener,
> >             Subject subject)
> 
> when trying to compile my file, javac says:
> 
>     [javac] import org.globus.delegation.DelegationRefreshListener;
>     [javac]                             ^
>     [javac] /home/users/hr/gt4book-
> examples/at/jku/gup/inter/impl/InteractiveService.java:32: cannot find
> symbol
> 
> trying to find the source:
> 
>     $ find ~/gt4.0.5-all-source-installer/source-trees -name
> DelegationRefreshListener.java
>     $
> 
> reveals nothing.
> 
> looking for the class file:
> 
>     $ for i in /opt/globus/lib/*.jar; do jar tf $i; done| grep
> DelegationRefreshListener
>     $
> 
> reveals nothing.
> 
> ok - am I right that the information sent is for a 4.2 draft, while 4.0.5
> is the
> latest release everyone is developing with?
> 
> kind regards,
> H.Rosmanith

Reply via email to