-
1. Re: How to be logged in into two security domains at the same time?
jfclere Sep 7, 2011 5:50 AM (in response to haukem)See http://community.jboss.org/wiki/JBossWebSingleSignOn look for
requireReauthentication
-
2. Re: How to be logged in into two security domains at the same time?
haukem Jan 5, 2012 5:54 AM (in response to jfclere)Thanks,
I set requireReauthentication, but this does not work completely as I need it.
This causes JBoss to authenticate the web browser with the first entered user name password combination on every web application.
When the user log in into web applications 1 or 2 there is not problem, because the user is automatically authenticated in the other application when he changes from 1 to 2 or form 2 to 1.
When the user logs into Web Application 3 at first, which uses different user name / password combinations as 1 and 2, the login into web application 1 is also working, the user gets a password prompt, but when he wants to authenticate to the last web application 2 he also gets a password prompt, because the authentication with the credentials from web application 2 do not work here.
Is it possible to set the cookie domain and path for every web application? I just want to do SSO with 2 of the web applications of the 3 I have deployed.
-
3. Re: How to be logged in into two security domains at the same time?
jfclere Jan 6, 2012 4:16 AM (in response to haukem)session-config/cookie-domain in web.xml should help.
-
4. Re: How to be logged in into two security domains at the same time?
haukem Jan 6, 2012 5:44 AM (in response to jfclere)The session-config tag in the web.xml has only one sub tag named session-timeout. I can not find anything cookie related in the web.xml or jboss-web.xml schema.
-
5. Re: How to be logged in into two security domains at the same time?
jfclere Jan 9, 2012 2:16 AM (in response to haukem)hm session-config/cookie-config/domain ? Which version is your web-app?
-
6. Re: How to be logged in into two security domains at the same time?
haukem Jan 9, 2012 3:27 AM (in response to jfclere)It is web-app version 2.5 with this schema: http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
I think this is the latest version supported by JBoss 5.1.
We are planing to upgrade to JBoss 7 in the future, so if more will work there, that will also help me.
-
7. Re: How to be logged in into two security domains at the same time?
jfclere Jan 9, 2012 3:33 AM (in response to haukem)It should work on AS7.