[jboss-user] [Security & JAAS/JBoss] - Re: Portal Login Problems

ch33zm0ng3r do-not-reply at jboss.com
Tue Jul 17 16:19:41 EDT 2007


The problem appears to be that the dashboard objects are not being created for each user.  I figured this was because Portal wasn't synching with the JOSSO database.  I added the SynchronizingLoginModule to the 'portal' application policy

jboss-porta.sar/conf/login-config.xml
<login-module code="org.jboss.portal.identity.auth.SynchronizingLoginModule" flag="optional">
  |             <module-option name="synchronizeIdentity">true</module-option>
  |             <module-option name="synchronizeRoles">true</module-option>
  |             <module-option name="additionalRole">Authenticated</module-option>
  |             <module-option name="defaultAssignedRole">User</module-option>
  |             <module-option name="userModuleJNDIName">java:/portal/UserModule</module-option>
  |             <module-option name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
  |             <module-option name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
  |             <module-option name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
  |          </login-module>
This is the only login module that I have configured for portal's policy, Since josso handles the acutal authentication and has a seperate policy in jboss' login-config.  However, I have had no  such luck there.  Portal still doesn't seem to be actually using this module.  Users that are created in the JOSSO database do not show up in the roles portlet after loging them in and then later viewed with the admin user portlet.  

I have also abandoned the bundled 2.6 and switched to Jboss AS 4.2 and am using the SVN checkout from July 17, 2007  (I read of a problem with dashboard objects not being created in the stable bundle for some Oracle configurations a fix for which was checked into subversion)  At this point I am completely stumped.  Any clues would be greatly appreciated.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065150#4065150

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065150



More information about the jboss-user mailing list