Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: AW: AW: AW: AW: AW: [geclipse-dev] Token creation

Stuempert, Mathias IWR a écrit :
Ok, now I am lost. I have one very last guess for today. Try to
explicitly set the tokens lifetime before creating it with

desc.setLifetime( 86400 ); // In second, so one day here
Nothing new under the sun with that.
If this also fails could you please try to call

CoreAuthTokenProvider.requestToken

after creating the token and with a request containing your token
description and see if it returns the token or null?! It should of
course return the token. If it nulls we have to have a closer look into
that.

Actually it is null. I have use that code:

           AuthTokenRequest req = new AuthTokenRequest(desc,"","");
IAuthenticationToken tok = CoreAuthTokenProvider.staticRequestToken(req); if(tok == null) System.out.println("null");
           else   System.out.println("pas null");

And the output is: null

Great, I may claim a pay raise if so ;)

If so I may claim some interests :-P

Cheers, Mathias
Cheers, Rom.
_______________________________________________
geclipse-dev mailing list
geclipse-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/geclipse-dev




Back to the top