jglobus / JGlobus

jGlobus is a collection of Java client libraries for Globus® Toolkit security, GRAM, and GridFTP.
http://www.globus.org/toolkit/jglobus/
Apache License 2.0
24 stars 44 forks source link

unextendable PUT request #154

Closed ttomttom closed 8 years ago

ttomttom commented 8 years ago

The put(...) method in the MyProxy.java class is implemented such that the CSR received from the MyProxy server is never seen. I would like to get this CSR from the put() method sign it somewhere else and return it to the put() method. The obvious choice is to extend the class and write the method myself! The problem is that helper methods and static constants within MyProxy.java (such as handleReply,getSocket...) are all 'private' and cannot be used in the extended class. Could these methods and static constants become 'protected' such that extending the MyProxy.java class would not require so much code duplication?

jbasney commented 8 years ago

Sounds good to me. Pull request welcome.