[Swift-devel] Re: Issues to resolve for new coaster modes
David Kelly
dk0966 at cs.ship.edu
Tue Aug 31 11:19:28 CDT 2010
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?
Here is the change I made to get it started (untested)
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")) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20100831/4e4ca007/attachment.html>
More information about the Swift-devel
mailing list