[jboss-user] [JBoss Portal] - Re: Map LDAP Group to Portal Role

drekun do-not-reply at jboss.com
Wed May 21 12:17:34 EDT 2008


Hi,

I already connect to the Microsoft AD 
I have the same issue about mapping LDAP group to the portal role

this my schema for ldap server or Microsoft AD

o=office.com
|
|- ou=poeple
| |
| - ou=jakarta,
| |
| - ou=internal
| |
| - cn=user1
| |
| - cn=user2
|
- ou=groups
|
- cn=finance
|
- member=uid=user1,ou=internal,c=jakarta,ou=people,o=office.com

- cn=accounting
|
- member=uid=user2,ou=internal,c=jakarta,ou=people,o=office.com

In the portal i already created roles for accouting and finance.
Now i just can retrieve the user name and the pass word only for finance group.

this is my configuration in jboss portal


      <option-group>
         <group-name>common</group-name>
         
            userCtxDN
            ou=internal,c=jakarta,ou=people,o=office.com
         
	 
	uidAttributeID 
	sAMAccountName 
	

         
            userSearchFilter                                                    <![CDATA[(&(sAMAccountName={0})(objectClass=User))]]>
         
         
            roleCtxDN
            <![CDATA[cn=finance,ou=groups,o=office.com]]>
         
         
            roleSearchFilter
            <![CDATA[(&((cn={0})(objectClass=group)))]]>
         
	    
	     searchScope 
	     SUBTREE_SCOPE 
	      
      </option-group>

I need to to configure the user from group accounting is automaticly assign to accounting role in the jboss portal and the same with the finace group in ldap. have any one done that with jboss portal ? 

Any sugestion will be highly appriciated

Regards
Hendra

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

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



More information about the jboss-user mailing list