Forums de discussion

Howto get User Groups and Roles from Atlassian Crowd via CrowdID

Rainer Montag, modifié il y a 15 années.

Howto get User Groups and Roles from Atlassian Crowd via CrowdID

New Member Publications: 9 Date d'inscription: 17/11/08 Publications récentes
Hello,

im using

- Liferay 5.2.1
- Crowd 1.5.2

What I Have:
- a LDAP server with user and groups entries

Wkat I Like:
- Login via OpenID/CrowdID, so that authenticated user is member in a Liferay User Group defined by the LDAP group.

I was able to setup Crowd and LDAP successfully, as i can authenticate the user via LDAP and user has the correct group.
I can also login successfully via OpenID in Liferay using the LDAP user/Password.

But checking the User Groups of the User, only the roles "User" and "Power User" are assigned to my user, but not the desired role.

I have done the following:
1) create a user group in Liferay using the same name as the LDAP group name.
2) create a role <newrole> in Liferay (type = Regular) and assigned the previous created user group to that role

Now I expected, that - after login - that <newrole> is visible in My Account ->
Regular Roles, but it isnt.

Anybody a hint how Groups and Roles from Atlassian Crowd can be automatically assigned to Liferay User Groups and Roles after OpenID login ?

Thanks in advance,
Rainer