[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
AW: AW: AW: AW: [geclipse-dev] Token creation
|
> I think you have the same bug in the method
>
> IGridJobID id = jss[0].submitJob(jsdl, new NullProgressMonitor());
Now this one at least is for you Pawel :-P Nevertheless Romain now
already knows about the workaround ...
> The token creation is not doing great.
Don't fool me, do you mean "not" or maybe "now"?! At least you seem to
be able to create, verify and activate a token, right?!
> And I have registered it:
> AuthenticationTokenManager.getManager().setDefaultToken(proxy);
You may have registered it but you didn't add it before.
setDefaultToken() does:
if ( this.tokens.contains( token ) && ( this.defaultToken != token ) ) {
That means if the token is not yet known by the manager it is not set as
default. So actually you have to make use of
AuthenticationTokenManager.getManager().createToken( desc );
Which then of course replaces your old
desc.createToken();
What is your guess? Will we submit a first job with your app today ;-)
Cheers, Mathias