Thats good, that means i could use the session status to
declare a session ended.
I have some little problem validating an external
authentication.
I have a python server script which does the following:
room =
http://connectnow.acrobat.com/coulixor/base am = cocomo.accountmanager(room)
am.login(user, password)
Then in a /test i do
room = am.createRoom("foobar3", None)
sess = am.getSession("foobar3")
# the secret is clear since its beta i will regenerate it
secret = "06b6c8b4ca1e40e6a2f83e2da0da7c7b"
token1 = sess.getAuthenticationToken(secret,
request.user.username, request.user.id, 50)
print tokent1
# gives
exx=eDp0ZWFjaGVyMTo6YmFzZToyOmZvb2JhcjM6NTA6ODIyNWYwNWZmYjM1NDg0NmYwNDQ5MzM5ZTA1OGI0ZDM2NTY1N2M0OQ==
Now in my flex client i did the following:
<rtc:AdobeHSAuthenticator
authenticationKey="exx=eDp0ZWFjaGVyMTo6YmFzZToyOmZvb2JhcjM6NTA6ODIyNWYwNWZmYjM1NDg0NmYwNDQ5MzM5ZTA1OGI0ZDM2NTY1N2M0OQ=="
id="auth"
authenticationFailure="{showConnError(event);}"
/>
<rtc:ConnectSessionContainer
id="sessionContainer"
width="100%" height="100%"
authenticator="{auth}"
roomURL="
http://connectnow.acrobat.com/coulixor/foobar3" creationComplete="{startup();}"
>
Which unforgettably raises the following error:
Cocomo Beta Build # : 0.9
requestInfo
http://connectnow.acrobat.com/coulixor/foobar3?exx=eDp0ZWFjaGVyMTo6YmFzZToyOmZvb2JhcjM6NTA6ODIyNWYwN...=============== null
getMeetingInfo: status=0
#THROWING ERROR# bad authentication key
SOMETHING WRONG [Event type="authenticationFailure"
bubbles=false cancelable=false eventPhase=2]
Did i overlook something ?
Admitting that would work, and autopromote user is true in my
room the nodes shouls be created by the client, his username
encoded in the token should appears in the cocomo dev console
foobar3 room detail and i will be happy.
Thanks for the help.