Hi Luiz,
I haven't used MyProxy API myself, but guess you're on the right way.
Try it and see if it works this way.
Regards,
Oleg
Luiz Henrique Coura wrote:
> Hi,
>
> by the way, I want to put my proxy (created with jlite) on myproxy
> server. How can I do this?
>
> Is it right?
>
> 1. /* CREATE LOCAL PROXY */
> 2. GridSessionConfig config = new GridSessionConfig();
> 3. config.setUserKeyPass("userKeyPass");
> 4. GridSession session = GridSessionFactory.create(config)
> 5. GlobusCredential proxy = session.createProxy("myVO", 12 * 3600);
> 6.
> 7. /* PUT PROXY CREATED ON MYPROXY SERVER
> 8. (
http://www.cogkit.org/release/current/api/jglobus/org/globus/myproxy/MyProxy.html)*/
> <
http://www.cogkit.org/release/current/api/jglobus/org/globus/myproxy/MyProxy.html%29*/>
> 9.
>
> 10. GSSCredential gss = new GlobusGSSCredentialImpl(proxy,
> GSSCredential.INITIATE_AND_ACCEPT);
> 11.
>
> 12. MyProxy mp = new MyProxy("
myproxy.server.com
> <
http://myproxy.server.com>", 7512);
> 13. mp.put(gss, "myProxyUser", "myProxyPassword", 168*60*60);
>
>
> regards,
> Luiz
>
>
> 2009/9/9 wjvriend <
wjvr...@gmail.com <mailto:
wjvr...@gmail.com>>