This content has been marked as final.
Show 5 replies
-
1. Re: IdentityService API Usage update
tom.baeyens Jun 11, 2009 3:06 AM (in response to jeff.yuchang)perfect.
go ahead.
thanks! -
2. Re: IdentityService API Usage update
kukeltje Jun 11, 2009 6:04 AM (in response to jeff.yuchang)Hmm... does this mean the JBoss idm creates the groupId? I hope there is some nice logic behind it and not some 'hash' thingy (I've not looked at the JBoss idm code so forgive me if my remark is bs ;-))
-
3. Re: IdentityService API Usage update
tom.baeyens Jun 11, 2009 7:49 AM (in response to jeff.yuchang)yes. the identity component creates the ids for the groups. it's component dependent. jbpm built-in uses
String groupId = groupType != null ? groupType + "." + groupName : groupName;
-
4. Re: IdentityService API Usage update
jeff.yuchang Jun 11, 2009 8:16 AM (in response to jeff.yuchang)"kukeltje" wrote:
Hmm... does this mean the JBoss idm creates the groupId? I hope there is some nice logic behind it and not some 'hash' thingy (I've not looked at the JBoss idm code so forgive me if my remark is bs ;-))
For the Jboss idm, it uses following pattern for the groupId:public String getId() { return PREFIX + SEPARATOR + groupType + SEPARATOR + groupName; }
-
5. Re: IdentityService API Usage update
kukeltje Jun 12, 2009 5:58 AM (in response to jeff.yuchang)Good choice, thanks for answering