[Swift-devel] Re: Issues to resolve for new coaster modes

Mihael Hategan hategan at mcs.anl.gov
Tue Aug 31 11:33:08 CDT 2010


On Tue, 2010-08-31 at 12:19 -0400, David Kelly wrote:
> Hello,
> 
> I started looking at the code a bit yesterday. I have coaster-service
> running with -nosec, but I haven't been able to test it because I
> think swift itself is also requiring a certificate to start? is this
> correct, and if so, is there currently a way to disable it?

Right. That's another think that needs a mechanism to disable security. 

> 
> Here is the change I made to get it started (untested)

It's along those lines. Though I'd leave the meaning of the "proxy"
command line arg as it is.

Mihael
> 
> Index:
> modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/CoasterPersistentService.java
> ===================================================================
> ---
> modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/CoasterPersistentService.java    (revision 2868)
> +++
> modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/CoasterPersistentService.java    (working copy)
> @@ -66,13 +66,14 @@
>                  secure = false;
>              }
>              GlobusCredential gc;
> +        GSSCredential cred = null;
>              if (ap.hasValue("proxy")) {
>                  gc = new
> GlobusCredential(ap.getStringValue("proxy"));
> +                cred = new GlobusGSSCredentialImpl(gc,
> GSSCredential.INITIATE_AND_ACCEPT);
>              }
> -            else {
> -                gc = GlobusCredential.getDefaultCredential();
> +            else if(secure) {
> +                    gc = GlobusCredential.getDefaultCredential();
>              }
> -            GSSCredential cred = new GlobusGSSCredentialImpl(gc,
> GSSCredential.INITIATE_AND_ACCEPT);
>              
>              int port = 1984;
>              if (ap.hasValue("port")) {
> 
> 





More information about the Swift-devel mailing list