Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[geclipse-dev] Proxy Creation Problem

Hello,
I try to create a proxy but i face some problems.

VomsProxyDescription desc = new VomsProxyDescription (
                       new IVirtualOrganization[] { vo },
                       new File("/home/pod/gildacerts/usercert.pem"),
new File("/home/pod/gildacerts/userkey.pem")); PasswordManager.registerPassword("/home/pod/gildacerts/userkey.pem", "**********"); VomsProxy proxy = ( VomsProxy ) AuthenticationTokenManager.getManager().createToken( desc ); desc.setLifetime(86400); if ( ! proxy.isValid() ) {
           proxy.validate( new NullProgressMonitor() );
   }
if ( ! proxy.isActive() ) { proxy.setActive( true, null );
           System.out.println("Proxy has been activated");
   }
       AuthenticationTokenManager.getManager().setDefaultToken(proxy);


And i get the message: No password was found. Value of "password" is being stored as a non-encrypted value in the node "/home/pod/gildacerts/userkey.pem".

thx pod


Back to the top