[jboss-user] [jBPM] - IdentityService implementation
Michael Wohlfart
do-not-reply at jboss.com
Mon Jun 7 13:14:57 EDT 2010
Michael Wohlfart [http://community.jboss.org/people/mwohlf] replied to the discussion
"IdentityService implementation"
To view the discussion, visit: http://community.jboss.org/message/546531#546531
--------------------------------------------------------------
I agree with Walter, I think the API should be as simple as possible and verfiying that the user exists or the user is in the candidate group should be the application/caller's responsibility not the API's.
If you throw an exception for any kind of "wrong" assignment of a task the application layer has to implement some kind of additional logic to catch this exception, it is probably the same amount of code you need to check beforehand if the assignment is valid...
But this are just my 2c...
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/546531#546531]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100607/05709e64/attachment.html
More information about the jboss-user
mailing list