public class JmsUserGroupAdapter extends Object implements org.jbpm.services.task.identity.adapter.UserGroupAdapter
JAASUserGroupCallbackImpl's
ThreadLocal field for external UserGroupAdapter implementations.
It's necessary because the RequestMessageBean itself must run as a specific or
anonymous user (per EJB/MDB specs).
In order to make sure that a TaskService command does run with the right user/group
info, an instance of this adapter is created with the correct values and injected.| Constructor and Description |
|---|
JmsUserGroupAdapter(String userId,
String... groups) |
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.