I have configured SSO (with Internet Site documents), starting HTTP is fine.If I login a notes-database with the standard domino login-form, it should set a cookie on my local machine which I can then retrieve with request.getCookies() for use in createSession(null, sessionToken).
But getCookies() does not return anything.
Is it, because it is running in a servlet ?
What else could I do to use the domino login-form (database ACL settings should be used) and then can use the single sign-on feature to use in NotesFactory.createSession(…).
thx to all…I´m new with these topics
@lex
Subject: Solution !
solution found: I addressed the servlet with ip-address and not with the fully qualified host-name.
after addressing it with “www.mydomain.com” the cookie could be read and validated…
Subject: RE: Solution !
Alex,Make sure that it works manually as I have described before doing any servlet processing otherwise you will get very confused.
Regards
Rolf Pfotenhauer
Subject: Servlets, SSO and getCookies() does not return anything
Can you manually try to access your Notes database on your server. It will then ask you to logon via the log-in form. Enter your username and password.
It will then return your requested database. Now, close your browser and open it again. This time go to the same URL you did before.
What do you now see? Does it ask you to login again? If it does the SSO is NOT working.
If it lets you in and you can navigate the database you know that your SSO is working.
Once you have established the fact that your SSO is working, then try the servlet with the request.getCookies().
Regards
Rolf Pfotenhauer
Subject: Cookie written in domlog.nsf
hi again !
one more thing to say: if I open the documents in domlog.nsf I can see that a cookie should be set (the field ‘Cookie’ is set to ‘LtpaToken=cookie_goes_here’).
nevertheless if I browse my local folders for a cookie i can not found any for my site.
the browser (IE 6.0) is set to allow cookies. it does already accept cookies from other sites which I can see in the ‘Cookies’ folders on the client.
regards and thank you for answers
Subject: RE: Servlets, SSO and getCookies() does not return anything
thank you ralf for your response!
in fact, if I close and re-open my browser I have to log-in agagin (I thought this would be ok, even when using SSO).
can I see somewhere if SSO ís running and working as it should ?
I have no idea what elso to configure…used the administrator´s help and everything looks fine…