-
1. Re: dashboard unavailable when going trough LDAP
ian.ouzounov Apr 6, 2007 1:35 PM (in response to ian.ouzounov)if someone can help, here is some more info on the same problem:
I discovered that if a user is not registered with the database can not login even if the ldap module authentication passes. I'm using ldap->required and IdentityLoginModule -> sufficient -
2. Re: dashboard unavailable when going trough LDAP
engela Apr 10, 2007 6:58 AM (in response to ian.ouzounov)
I had a similar problem a while ago (http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103675). Your users needs to have the role 'Authenticated'.
I am using LDAP authentication as well. All my users have the role 'Authenticated'. Furthermore I have added all the roles I use in my LDAP server to the Portal database in order to be able to use these roles to define the access to my portal pages and portlets.
Hope that helps,
Anette -
3. Re: dashboard unavailable when going trough LDAP
ian.ouzounov Apr 10, 2007 2:45 PM (in response to ian.ouzounov)Problem solved. It works fine.
dashboard is there for every user.
Also for the problem where users info from ldap should match the info stored in the local db all you have to do is:
in login-config.xml uncomment this code, and ldap will synchronize the db every time there is a new user.<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>