01: package org.emforge.jbpm;
02:
03: import org.jbpm.svc.Service;
04: import org.jbpm.svc.ServiceFactory;
05:
06: /** EmForge Implementation of Authentication Service for JBPM Library
07: * It is used information from Acegi Security Framework
08: *
09: * @author akakunin
10: *
11: */
12: public class AuthenticationServiceFactory implements ServiceFactory {
13: private static final long serialVersionUID = 3726974807988740843L;
14:
15: public void close() {
16: }
17:
18: public Service openService() {
19: return new AcegiAuthenticationService();
20: }
21:
22: }
|