#abbyysummit15 - training (3/6): flexicapture best practices of system configuration: web stations...
TRANSCRIPT
TechnologySummit 2015
© Copyright 2015 ABBYY Technology Summit
Best practices of system configuration. Web Stations Customization & Integration
Andrew Zyuzin, PM of DataCapture Dev Team
#ABBYYSummit15
TechnologySummit 2015
2
●Standard web stations ABBYY FlexiCapture● Customi appearance & behavior
●Components integrated directly in 3rd party system
ABBYY FlexiCapture on web
TechnologySummit 2015
Operating System
Browser
SilverLightScanPlugin.js
Architecture
Scanning PluginC++
ISIS, TWAIN
ActiveX, npapiWEB API
https
TechnologySummit 2015
Operating System
Browser
SilverLightScanPlugin.js
Scanning PluginC++
ISIS, TWAIN
ActiveX, npapiWEB API
https
TechnologySummit 2015
Operating System
Browser
SilverLightScanPlugin.js
Scanning PluginC++
ISIS, TWAIN
ActiveX, npapiWEB API
https
URL-based API
TechnologySummit 2015
URL-based APIhttp://localhost/FlexiCapture11/Scanning/Login.aspx?
selectProject = Banking_eng& createBatch = true& batchName = name& batchType = Batch%20Type1& param1Name = param1 & param1Value = val2 & param1Readonly = true & param1Required = true & param1LI1 = val1 & param1LI2 = val2& closeAfterSentBatchUploaded = true
openRescanTaskId = x http://localhost/FlexiCapture11/Verification/Verify.aspx?
taskId = x & roleID = y
TechnologySummit 2015
9
http://…/Login.aspx?windowsAuth =true
Windows Authentication
80% of integrations within Intranet!
TechnologySummit 2015Authentication module
10
What is authentication?● Login defines user’s identity (identification)● Authentication is the process of confirmingthe identity● Authorization is the function of specifying access rights to resources
TechnologySummit 2015
11
● Custom● Replace ABBYY FlexiCapture
Authentication module in IIS● AutoLogin.html
Customize Authentication Module
http://www.iis.net/learn/develop/runtime-extensibility/developing-a-module-using-net
public void Init( HttpApplication context ){
context.AuthenticateRequest += OnAuthenticate;
context.EndRequest += OnLeave;} void OnAuthenticate( object sender,
EventArgs e ) {
// Authentication// Authorization
}void OnLeave( object sender, EventArgs e )
TechnologySummit 2015
15
Integration with the 3rd party system
• Call https://.../Login.aspx ? customAuthTicket = token_value
• “token_value” -> cookie FlexiCaptureCustomAuthTicket -> Authentication Module
• Customize void OnAuthenticate in Authentication Module, leave all code about Authorization and change only Authentication part
TechnologySummit 2015
Operating System
Browser
SilverLightScanPlugin.js
Architecture - FC 12
Scanning PluginC++
ISIS, TWAIN
ActiveX, npapiWEB API
https
TechnologySummit 2015
Operating System
Browser
Architecture - FC 12
Scanning PluginC++
ISIS, TWAIN
WEB APIhttps
WEB APIhttp
Model
Controller View
TechnologySummit 2015
Architecture - FC 12
https://marvelapp.com/8gh0aj#8164347https://marvelapp.com/8gh0aj#8164347