이 콘텐츠는 선택한 언어로 제공되지 않습니다.
9.4.2. Initializing actor IDs
We always need to know which user is currently logged in. jBPM recognizes users with their actor ID and group actor ID. We specify the current actor IDs with the built-in Seam component,
actor:
@In Actor actor;
public String login() {
...
actor.setId( user.getUserName() );
actor.getGroupActorIds().addAll( user.getGroupNames() );
...
}