[jboss-user] [Security & JAAS/JBoss] - Single sign-on (SSO) access is not limited to security domai
do-not-reply at jboss.com
Wed Jan 30 18:35:03 EST 2008
Hi, I have been trying to fix a problem with single sign-on (SSO) security in JBoss 4.0.4 GA. The issue is that I cannot restrict some applications from taking part in the SSO domain. No matter what settings I use, once a user successfully authenticates in an SSO application, he has access to ALL JBoss apps, even if they are listed in a different security domain. Here are the details:
Single sign-on is activated with the following in deploy/jbossweb-tomcat55.sar/server.xml:
All liferay components are in this security domain:
I have a few applications (xforms) that I want to participate in the SSO domain. These work perfectly.
I have another application (/axis) in a different security domain, which is still accessible to SSO users.
<application-policy name = "axis">
flag = "required">
<application-policy name = "PortalRealm">
<login-module code ="com.liferay.portal.security.jaas.PortalLoginModule"
flag = "required">
The above block is not necessary to make Liferay security work. I added it myself, but it did not change any noticeable behavior.
I intend to make /axis only available to those with a specific username and password, however JBoss currently allows all Liferay users to have access to axis despite it being in a different security domain. I have had problems with the java:/blah/blah naming convention, and I have seen a few posts indicating this might be an issue. Does anyone have a suggestion for how I might limit SSO access to certain apps? Thanks! -Ben
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124962#4124962
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124962
More information about the jboss-user