I am trying to use custom identity management with Activiti 6.0
The example i user guide is not matching with the one in Activiti 6.0
public class MyGroupManagerFactory implements SessionFactory {
@Override
public Class<?> getSessionType() {
return GroupIdentityManager.class;
}
@Override
public Session openSession() {
return new MyCompanyGroupManager();
}
}
public class UserManagerFactory implements SessionFactory{
@Override
public Class<?> getSessionType() {
}
@Override
public Session openSession(CommandContext commandContext) {
}
}The CommandContext seems to be the parameter for openSession(). Anybody dealt with the discrepancy and got it working..?