[jboss-user] [JBoss jBPM] - Re: Way to Add Users and Groups (beside API)

2009-07-30 Thread djcye
ok i had a mistake, you have to use the ID which is returned by the creation.

meanwhile i have multiple groups with the same name and ID, because the ID 
consists of "type.name" -_-

cant delete them because you can only search for groups with UNIQUE ID 
otherwise exception.

...

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247031
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Way to Add Users and Groups (beside API)

2009-07-30 Thread djcye
thx,

added some users and groups over the api.. adding users works but adding groups 
failes.. without any exception. 

IdentityService ids = processEngine.getIdentityService();

ids.createGroup("salesmanager", "salesmanagertyp", "manager");
ids.createUser("tina", "Tina", "Family","t...@firm.com");
ids.createMembership("tina", "salesmanager");  <- this causes an "group doesnt 
exist" exception... realy strange

even cant add a group and find it later over id, simply doesnt exist.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4247026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Way to Add Users and Groups (beside API)

2009-07-30 Thread jbarrez
Probably through plain JDBC (there are user and groups tables), but that is the 
domain of the JBoss Identity component, with which I haven't been able to play 
yet ...

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user