Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new: XGridClient




On Mar 29, 2006, at 9:58 AM, Luca Lutterotti wrote:

Dear all,

after a while I am not posting to the list I will let you know I am still alive.... ;-))

Hello Luca.


Now the topic:
I just wrote a library to use the XGrid network available with Tiger from Java without using the XGrid command line. I am using it successfully in my program from a while, so I decided to share the work with the Java/Mac community. I hope someone will find it useful.

Interesting.

Do you know where Apple might have some documentation, or examples, etc? I'm trying to figure out how to get it to work with password authentication enabled, mainly out of curiosity, but so far no success. Without authentication required it works fine.

Details on what I've gathered so far if of interest...
It looks like it won't take a profile URI like SASL/PLAIN which appears to be user/password based.
With what I've been able to find it seems that I have to use a URI that the controller gave me in it's multiple choice 'greeting'
ethereal shows those as...
http://www.apple.com/beep/GSS
http://www.apple.com/beep/xgrid/authentication/two-way-random
http://www.apple.com/beep/xgrid/controller/agent
http://www.apple.com/beep/xgrid/controller/client
http://www.apple.com/beep/xgrid/controller/manager


Your java uses the controller/client URI but with password authentication enabled I get
530 Authentication required errors.
Again if I change to like SASL/PLAIN it tells me it hasn't heard of the profile.
My options seem to be to select like one of the first two Apple uri's which appear to provide authentication but this might be difficult from scratch with no documentation, and might not be the best way, or required.
Other options that might avoid this would be to provide a listener that does the authentication or maybe give the session a local credential that does. There appears to be API support for either of these. But again with documentation and examples somewhat hard to find I'm not quite sure how to proceed? Any suggestions?


Mike Hall        mikehall at spacestar dot net
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >new: XGridClient (From: Luca Lutterotti <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.