anonymous wrote : Does jboss-portal 2.0 support LDAP?

The portal does not support LDAP as a repository for portal roles...sort of.
What's happening is that your LDAP is not supplying the roles used by the JBoss 
Portal.  The portal comes with two roles out-of-the-box:

* Admin
* User

You should review JBoss AS 4.0.X Server Guide (chapter 8 on security) to 
determine how you want to integrate your LDAP authentication with JBoss Portal. 
 What I did for this was to implement a custom JAAS LoginModule (using JBoss SX 
base class) and after authenticating against our internal LDAP system, I 
automatically inserted a user into the portal's database with the User role (if 
he/she did not exist in the database).  I also 'borrowed' some of the code from 
the JBoss Portal HibernateLoginModule class - specifically the code that gets 
the roles for a user.  The result was a login module that used our corporate 
LDAP system AND JBoss Portal's DB to authenticate and authorize a user for the 
portal.

Hope this helps.


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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to